Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Unified Diff: third_party/xdg-utils/scripts/xdg-settings.in

Issue 3273010: Update our copy of xdg-utils to 2010-08-30, and include a patched xdg-mime. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/xdg-utils/scripts/xdg-settings ('k') | third_party/xdg-utils/scripts/xdg-su.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/xdg-utils/scripts/xdg-settings.in
===================================================================
--- third_party/xdg-utils/scripts/xdg-settings.in (revision 57942)
+++ third_party/xdg-utils/scripts/xdg-settings.in (working copy)
@@ -218,7 +218,8 @@
fi
# kreadconfig in KDE 4 may not notice Key[$*]=... localized settings, so check
# by hand if it didn't find anything (oddly kwriteconfig works fine though).
- kdeglobals="${KDE_HOME:-$HOME/.kde}/share/config/kdeglobals"
+ kdeglobals_dir=`kde${KDE_SESSION_VERSION}-config --path config | cut -d ':' -f 1`
+ kdeglobals="$kdeglobals_dir/kdeglobals"
[ ! -f "$kdeglobals" ] && return
# This will only take the first value if there is more than one.
grep '^BrowserApplication\[$[^]=]*\]=' "$kdeglobals" | head -n 1 | cut -d= -f 2-
« no previous file with comments | « third_party/xdg-utils/scripts/xdg-settings ('k') | third_party/xdg-utils/scripts/xdg-su.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698