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

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

Issue 274055: Add %s to the command in the Gnome url handlers.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 2 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
Index: third_party/xdg-utils/scripts/xdg-settings
===================================================================
--- third_party/xdg-utils/scripts/xdg-settings (revision 26314)
+++ third_party/xdg-utils/scripts/xdg-settings (working copy)
@@ -634,13 +634,13 @@
gconftool-2 --type bool --set /desktop/gnome/applications/browser/nremote true
# Set the handler for HTTP and HTTPS.
for protocol in http https; do
- gconftool-2 --type string --set /desktop/gnome/url-handlers/$protocol/command "$binary"
+ gconftool-2 --type string --set /desktop/gnome/url-handlers/$protocol/command "$binary %s"
gconftool-2 --type bool --set /desktop/gnome/url-handlers/$protocol/needs_terminal false
gconftool-2 --type bool --set /desktop/gnome/url-handlers/$protocol/enabled true
done
# Set the handler for about: and unknown URL types.
for protocol in about unknown; do
- gconftool-2 --type string --set /desktop/gnome/url-handlers/$protocol/command "$binary"
+ gconftool-2 --type string --set /desktop/gnome/url-handlers/$protocol/command "$binary %s"
done
}
« no previous file with comments | « no previous file | third_party/xdg-utils/scripts/xdg-settings.in » ('j') | third_party/xdg-utils/scripts/xdg-settings.in » ('J')

Powered by Google App Engine
This is Rietveld 408576698