[gitg] Set url scheme handler for gitg in desktop file



commit 1f714c88746edda29020bc71c5428ef6ac0e0ae3
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Tue Oct 30 11:07:34 2012 +0100

    Set url scheme handler for gitg in desktop file

 data/gitg.desktop.in.in               |    1 +
 data/org.gnome.gitg.gschema.xml.in.in |   21 ---------------------
 2 files changed, 1 insertions(+), 21 deletions(-)
---
diff --git a/data/gitg.desktop.in.in b/data/gitg.desktop.in.in
index 2728c07..c5cfd61 100644
--- a/data/gitg.desktop.in.in
+++ b/data/gitg.desktop.in.in
@@ -7,6 +7,7 @@ Terminal=false
 Type=Application
 Icon=gitg
 Categories=GNOME;GTK;Development;
+Mime-Type=x-scheme-handler/gitg
 #X-GNOME-DocPath=gitg/gitg.xml
 X-GNOME-Bugzilla-Bugzilla=GNOME
 X-GNOME-Bugzilla-Product=gitg
diff --git a/data/org.gnome.gitg.gschema.xml.in.in b/data/org.gnome.gitg.gschema.xml.in.in
index 7c01e7e..8442489 100644
--- a/data/org.gnome.gitg.gschema.xml.in.in
+++ b/data/org.gnome.gitg.gschema.xml.in.in
@@ -136,25 +136,4 @@
       <default>200</default>
     </key>
   </schema>
-  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.desktop.url-handlers.gitg" path="/desktop/gnome/url-handlers/gitg/">
-    <key name="command" type="s">
-      <default>'gitg "%s"'</default>
-      <_summary>The command to handle GITG scheme URLs</_summary>
-      <_description>The command to handle GITG scheme URLs.</_description>
-    </key>
-    <key name="needs-terminal" type="b">
-      <default>false</default>
-      <_summary>Whether command to handle GITG scheme URLs needs a terminal</_summary>
-      <_description>
-        Whether command to handle GITG scheme URLs needs a terminal.
-      </_description>
-    </key>
-    <key name="enabled" type="b">
-      <default>true</default>
-      <_summary>Whether command to handle GITG scheme URLs is enabled</_summary>
-      <_description>
-        Whether command to handle GITG scheme URLs is enabled.
-      </_description>
-    </key>
-  </schema>
 </schemalist>



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