GNOME Bugzilla – Bug 415345
Should add the default Downloads folder to the filechoosers
Last modified: 2010-01-13 20:59:34 UTC
+++ This bug was initially created as a clone of Bug #415338 +++ As well as the currently selected "Downloads" folder from the prefs. You can use http://freedesktop.org/wiki/Software_2fxdg_2duser_2ddirs to get the default Downloads folder for the user.
Created attachment 131734 [details] [review] patch use g_get_user_special_dir, as provided by glib > 2.14,
This patch doesn't implement what comment 0 suggests.
g_get_user_special_dir uses XDG[1]. What am I missing ? [1] http://library.gnome.org/devel/glib/unstable/glib-Miscellaneous-Utility-Functions.html#g-get-user-special-dir
I think comment 0 asked for adding the XDG downloads dir as a shortcut in the filechooser that shows when accepting a DCC; not to replace this code in the preferences.
Created attachment 133689 [details] [review] patch makes sense. Attached a patch to add "pref.dccdir" to filechooser added note: get_save_dir can be simplified with g_get_user_special_dir, removing the need for translation. Should I file another bug report for this, or otherwise ?
*** Bug 599416 has been marked as a duplicate of this bug. ***
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report. http://git.gnome.org/browse/xchat-gnome/commit/?id=53a06edf9697cdbc504342c0674654e5545b24eb
Review of attachment 133689 [details] [review]: reworked, and fixed.