gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r22087 - gnunet-gtk/contrib


From: gnunet
Subject: [GNUnet-SVN] r22087 - gnunet-gtk/contrib
Date: Mon, 18 Jun 2012 22:50:28 +0200

Author: grothoff
Date: 2012-06-18 22:50:28 +0200 (Mon, 18 Jun 2012)
New Revision: 22087

Added:
   gnunet-gtk/contrib/gnunet-fs-gtk-gnome.sh
   gnunet-gtk/contrib/gnunet-fs-gtk.protocol
Modified:
   gnunet-gtk/contrib/Makefile.am
Log:
adding some scripts for installing gnunet://-protocol handlers to point to 
gnunet-fs-gtk, this should fix #1083

Modified: gnunet-gtk/contrib/Makefile.am
===================================================================
--- gnunet-gtk/contrib/Makefile.am      2012-06-18 20:40:17 UTC (rev 22086)
+++ gnunet-gtk/contrib/Makefile.am      2012-06-18 20:50:28 UTC (rev 22087)
@@ -9,6 +9,8 @@
  gnunet-setup-oxygen-ok.png 
 
 EXTRA_DIST = \
+  gnunet-fs-gtk.protocol \
+  gnunet-fs-gtk-gnome.sh \
   $(pkgdata_DATA) \
   $(IMAGES)
 

Added: gnunet-gtk/contrib/gnunet-fs-gtk-gnome.sh
===================================================================
--- gnunet-gtk/contrib/gnunet-fs-gtk-gnome.sh                           (rev 0)
+++ gnunet-gtk/contrib/gnunet-fs-gtk-gnome.sh   2012-06-18 20:50:28 UTC (rev 
22087)
@@ -0,0 +1,9 @@
+#!/bin/sh
+# This shell script can be used to configure the "gnunet://" URL handler for 
Gnome
+gconftool-2 -t string -s /desktop/gnome/url-handlers/gnunet/command 
"gnunet-fs-gtk \"%s\""
+gconftool-2 -t bool -s /desktop/gnome/url-handlers/gnunet/enabled true
+gconftool-2 -t bool -s /desktop/gnome/url-handlers/gnunet/needs_terminal false 
+
+# Uninstall using
+# gconftool-2 -u /desktop/gnome/url-handlers/gnunet --recursive-unset
+


Property changes on: gnunet-gtk/contrib/gnunet-fs-gtk-gnome.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: gnunet-gtk/contrib/gnunet-fs-gtk.protocol
===================================================================
--- gnunet-gtk/contrib/gnunet-fs-gtk.protocol                           (rev 0)
+++ gnunet-gtk/contrib/gnunet-fs-gtk.protocol   2012-06-18 20:50:28 UTC (rev 
22087)
@@ -0,0 +1,12 @@
+[Protocol]
+exec=gnunet-fs-gtk
+# technically gnunet://fs/, but for now this should do...
+protocol=gnunet
+input=none
+output=none
+helper=true
+listing=false
+reading=false
+writing=false
+makedir=false
+deleting=false




reply via email to

[Prev in Thread] Current Thread [Next in Thread]