Re: Support xdg-user-dirs in all GNOME modules



On 7/9/07, Luca Ferretti <elle uca libero it> wrote:
Some GNOME modules didn't switched to xdg-user-dirs and they are using a
raw "$HOME/Desktop" as path to desktop dir. This will make them fails
when the user switched to new approach.

Examples:
  http://bugs.gnome.org/453115 - bug-buddy
  http://bugs.gnome.org/455204 - gnome-screenshot

Both program testy to preset $HOME/Desktop as directory to save shots or
bug report details; if you switched to xdg-user-dirs and you no longer
have $HOME/Desktop (i.e. you are not using English as your language),
the GtkFileChooserButton shows an error message related to missing
directory.

Are bug-buddy and gnome-screenshot the only modules that needs to be
updated? Could someone review proposed patches?

Just to point out the obvious: The best way of supporting xdg-user-dirs
in gnome apps is to simply use g_get_user_special_dir() that is being
introduced in GLib 2.14.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]