Advertisement
Shnatsel

Glib patch

Apr 27th, 2013
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. Description: Make looking up Desktop folder fall back to home folder
  2. This patch makes looking up Desktop folder fall back to home folder
  3. if Desktop folder is not specified in xdg-user-dirs.
  4. Author: Sergey "Shnatsel" Davidoff <sergey@elementaryos.org>
  5. Bug-elementary: https://bugs.launchpad.net/elementaryos/+bug/1088260
  6.  
  7. ---
  8. The information above should follow the Patch Tagging Guidelines, please
  9. checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
  10. are templates for supplementary fields that you might want to add:
  11.  
  12. Origin: <vendor|upstream|other>, <url of original patch>
  13. Bug: <url in upstream bugtracker>
  14. Bug-Debian: http://bugs.debian.org/<bugnumber>
  15. Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
  16. Forwarded: <no|not-needed|url proving that it has been forwarded>
  17. Reviewed-By: <name and email of someone who approved the patch>
  18. Last-Update: <YYYY-MM-DD>
  19.  
  20. --- glib2.0-2.32.3.orig/glib/gutils.c
  21. +++ glib2.0-2.32.3/glib/gutils.c
  22. @@ -1784,7 +1784,7 @@ g_get_user_special_dir (GUserDirectory d
  23. g_get_any_init ();
  24.  
  25. g_user_special_dirs[G_USER_DIRECTORY_DESKTOP] =
  26. - g_build_filename (g_home_dir, "Desktop", NULL);
  27. + g_build_filename (g_home_dir, NULL);
  28. }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement