[Portland-bugs] [Bug 19011] xdg-desktop-icon (v1.0.2) does not use localized desktop folder name under GNOME
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Dec 11 13:53:37 PST 2008
http://bugs.freedesktop.org/show_bug.cgi?id=19011
--- Comment #3 from Florian Höch <florian.hoech at gmx.de> 2008-12-11 13:53:36 PST ---
(From update of attachment 21029)
--- xdg-desktop-icon.bak Sun Jun 24 20:57:56 2007
+++ xdg-desktop-icon Thu Dec 11 22:51:11 2008
@@ -496,6 +496,15 @@
my_umask=077
desktop_dir="$HOME/Desktop"
+# Is xdg-user-dirs present and enabled ?
+if [ -e /etc/xdg/user-dirs.conf ] && cat /etc/xdg/user-dirs.conf | grep
enabled=True > /dev/null; then
+ DESKTOP=Desktop
+ # Try to get global defaults
+ test -f /etc/xdg/user-dirs.defaults && source /etc/xdg/user-dirs.defaults
+ # Try to get user-defined settings
+ test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && source
${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
+ desktop_dir=${XDG_DESKTOP_DIR:-$HOME/$DESKTOP}
+fi
desktop_dir_kde=`kde-config --userpath desktop 2> /dev/null`
if gconftool-2 -g /apps/nautilus/preferences/desktop_is_home_dir 2> /dev/null
| grep true > /dev/null; then
desktop_dir_gnome="$HOME"
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Portland-bugs
mailing list