On Thu, Jul 10, 2008 at 07:36:41PM +0400, Stanislav Maslovski wrote:
> On Thu, Jul 10, 2008 at 05:25:42PM +0200, Cristian Greco wrote:
> > On Thu, Jul 10, 2008 at 06:48:06PM +0400, Stanislav Maslovski wrote:
> > > > Bug report has been forwarded to upstream.
> > >
> > > Why to upstream? It is a debian-specific change. You will not find
> > > "/usr/bin/sensible-browser" in all distros either...
> > 
> > Because IMHO your solution is debian-specific, while the bug is not.
> 
> True, agreed. Good reasoning.

Nevertheless, here goes the debian-specific patch, attached.


-- 
Stanislav
diff -urN geeqie-1.0~alpha1-orig/src/main.c geeqie-1.0~alpha1/src/main.c
--- geeqie-1.0~alpha1-orig/src/main.c	2008-04-23 00:05:10.000000000 +0400
+++ geeqie-1.0~alpha1/src/main.c	2008-07-10 20:02:34.000000000 +0400
@@ -257,6 +257,8 @@
 {
 	/* Redhat has a nifty htmlview script to start the user's preferred browser */
 	"htmlview",	NULL,
+	/* Debian has even better approach with alternatives */
+        "sensible-browser", NULL,
 	/* GNOME 2 */
 	"gconftool-2",	"gconftool-2 -g /desktop/gnome/url-handlers/http/command",
 	/* KDE */

Reply via email to