openbsd-ports/x11/gnome/yelp/patches/patch-yelp_desktop_in_in
ajacoutot dff68198da Add schemehandler information to the desktop file (from upstream).
This should fix the ghelp:// error "The specified location is not supported"
2011-04-06 16:10:59 +00:00

24 lines
800 B
Plaintext

$OpenBSD: patch-yelp_desktop_in_in,v 1.1 2011/04/06 16:10:59 ajacoutot Exp $
From f79bf2d8e632771275e89b67a218b22bb699afa7 Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mclasen@redhat.com>
Date: Wed, 22 Dec 2010 21:11:01 +0000
Subject: Add schemehandler information to the desktop file
--- yelp.desktop.in.in.orig Tue Aug 3 21:41:38 2010
+++ yelp.desktop.in.in Wed Apr 6 17:59:35 2011
@@ -2,7 +2,7 @@
_Name=Help
_Comment=Get help with GNOME
OnlyShowIn=GNOME;
-Exec=yelp
+Exec=yelp %u
Icon=help-browser
StartupNotify=true
Terminal=false
@@ -12,3 +12,4 @@ X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=Yelp
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=@VERSION@
+MimeType=x-scheme-handler/ghelp;x-scheme-handler/help;x-scheme-handler/info;x-scheme-handler/man;