r16275 - in /desktop/unstable/evince/debian: changelog patches/01_external_libgnome.patch

joss at users.alioth.debian.org joss at users.alioth.debian.org
Mon Jun 16 14:34:29 UTC 2008


Author: joss
Date: Mon Jun 16 14:34:28 2008
New Revision: 16275

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=16275
Log:
01_external_libgnome.patch: use libgnome to launch external links
instead of GIO, which requires gvfs installed for it to work. This 
is a temporary measure until gvfs becomes used by default in  
nautilus. Closes: #484032.

Added:
    desktop/unstable/evince/debian/patches/01_external_libgnome.patch
Modified:
    desktop/unstable/evince/debian/changelog

Modified: desktop/unstable/evince/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/evince/debian/changelog?rev=16275&op=diff
==============================================================================
--- desktop/unstable/evince/debian/changelog (original)
+++ desktop/unstable/evince/debian/changelog Mon Jun 16 14:34:28 2008
@@ -1,3 +1,12 @@
+evince (2.22.2-2) UNRELEASED; urgency=low
+
+  * 01_external_libgnome.patch: use libgnome to launch external links
+    instead of GIO, which requires gvfs installed for it to work. This 
+    is a temporary measure until gvfs becomes used by default in  
+    nautilus. Closes: #484032.
+
+ -- Josselin Mouette <joss at debian.org>  Mon, 16 Jun 2008 16:31:57 +0200
+
 evince (2.22.2-1) unstable; urgency=low
 
   * New upstream bugfix release.

Added: desktop/unstable/evince/debian/patches/01_external_libgnome.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/evince/debian/patches/01_external_libgnome.patch?rev=16275&op=file
==============================================================================
--- desktop/unstable/evince/debian/patches/01_external_libgnome.patch (added)
+++ desktop/unstable/evince/debian/patches/01_external_libgnome.patch Mon Jun 16 14:34:28 2008
@@ -1,0 +1,19 @@
+--- shell/ev-window.c.orig	2008-06-16 16:28:11.266518161 +0200
++++ shell/ev-window.c	2008-06-16 16:30:38.343557281 +0200
+@@ -78,6 +78,7 @@
+ #include <gtk/gtk.h>
+ #include <gio/gio.h>
+ #include <gconf/gconf-client.h>
++#include <libgnome/gnome-url.h>
+ 
+ #include <errno.h>
+ #include <stdlib.h>
+@@ -4635,7 +4636,7 @@
+ 	GError *error = NULL;
+ 	gboolean ret;
+ 	
+-	ret = g_app_info_launch_default_for_uri (uri, NULL, &error);
++	ret = gnome_url_show (uri, &error);
+   	if (ret == FALSE) {
+ 		GtkWidget *dialog;
+ 	




More information about the pkg-gnome-commits mailing list