diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-06-08 13:24:25 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-06-08 13:24:25 +0000 |
commit | f35316cde2292cdfb84e1dc404800912e66c3503 (patch) | |
tree | 280e320d67de95eb4f0d0540cc582ec2406d5d0e /contrib/gnunet-gnome.sh | |
parent | 23eaf981e8f1fbb523d019f8bd7c55ae3172db10 (diff) | |
download | gnunet-gtk-f35316cde2292cdfb84e1dc404800912e66c3503.tar.gz gnunet-gtk-f35316cde2292cdfb84e1dc404800912e66c3503.zip |
-update URI handler integration to use new gnunet-uri tool
Diffstat (limited to 'contrib/gnunet-gnome.sh')
-rwxr-xr-x | contrib/gnunet-gnome.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/gnunet-gnome.sh b/contrib/gnunet-gnome.sh new file mode 100755 index 00000000..9d800be1 --- /dev/null +++ b/contrib/gnunet-gnome.sh | |||
@@ -0,0 +1,9 @@ | |||
1 | #!/bin/sh | ||
2 | # This shell script can be used to configure the "gnunet://" URL handler for Gnome | ||
3 | gconftool-2 -t string -s /desktop/gnome/url-handlers/gnunet/command "gnunet-uri \"%s\"" | ||
4 | gconftool-2 -t bool -s /desktop/gnome/url-handlers/gnunet/enabled true | ||
5 | gconftool-2 -t bool -s /desktop/gnome/url-handlers/gnunet/needs_terminal false | ||
6 | |||
7 | # Uninstall using | ||
8 | # gconftool-2 -u /desktop/gnome/url-handlers/gnunet --recursive-unset | ||
9 | |||