packages: xfce4-places-plugin/port-to-exo-1.patch (NEW) - fixes build with ...
megabajt
megabajt at pld-linux.org
Thu Feb 17 14:41:15 CET 2011
Author: megabajt Date: Thu Feb 17 13:41:15 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- fixes build with xfce 4.8 (patch from fedora)
---- Files affected:
packages/xfce4-places-plugin:
port-to-exo-1.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/xfce4-places-plugin/port-to-exo-1.patch
diff -u /dev/null packages/xfce4-places-plugin/port-to-exo-1.patch:1.1
--- /dev/null Thu Feb 17 14:41:15 2011
+++ packages/xfce4-places-plugin/port-to-exo-1.patch Thu Feb 17 14:41:10 2011
@@ -0,0 +1,44 @@
+Description: Port to exo-1
+Origin: backport, http://bugzilla.xfce.org/show_bug.cgi?id=5754
+Bug: http://bugzilla.xfce.org/show_bug.cgi?id=5754
+--- xfce4-places-plugin-1.2.0.orig/panel-plugin/support.c
++++ xfce4-places-plugin-1.2.0/panel-plugin/support.c
+@@ -48,14 +48,11 @@
+ void
+ places_load_file_browser(const gchar *path)
+ {
+- gboolean exo_success;
++ GError *error = NULL;
+
+ if(path != NULL && *path != '\0'){
+
+- DBG("exo_url_show(%s)", path);
+- exo_success = exo_url_show(path, NULL, NULL);
+-
+- if(!exo_success){
++ if(!gtk_show_uri(NULL, path, 0, &error)){
+ gchar *cmd = g_strconcat("thunar \"", path, "\"", NULL);
+ DBG("exec: %s", cmd);
+ places_gui_exec(cmd);
+@@ -114,8 +111,9 @@ places_load_terminal(const gchar *const_
+ void
+ places_load_file(const gchar *path)
+ {
++ GError *error = NULL;
+ if(path != NULL && *path != '\0')
+- exo_url_show(path, NULL, NULL);
++ gtk_show_uri(NULL , path, 0, &error);
+ }
+
+ /**
+--- xfce4-places-plugin-1.2.0.orig/configure.in
++++ xfce4-places-plugin-1.2.0/configure.in
+@@ -25,7 +25,7 @@ XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxf
+ XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.3.90.2])
+ XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.90.2])
+ XDT_CHECK_PACKAGE([THUNAR_VFS], [thunar-vfs-1], [0.3.2])
+-XDT_CHECK_PACKAGE([EXO], [exo-0.3], [0.3.1.1])
++XDT_CHECK_PACKAGE([EXO], [exo-1], [0.5.0])
+
+ dnl check for optional packages/versions
+ XDT_CHECK_OPTIONAL_PACKAGE([LIBXFCE4PANEL_46], [libxfce4panel-1.0], [4.5.92], [libxfce4panel46], [Take advantage of Xfce 4.6 panel changes])
================================================================
More information about the pld-cvs-commit
mailing list