summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xfce-extra/xfce4-places-plugin/files/xfce4-places-plugin-1.2.0-exo.patch')
-rw-r--r--xfce-extra/xfce4-places-plugin/files/xfce4-places-plugin-1.2.0-exo.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-places-plugin/files/xfce4-places-plugin-1.2.0-exo.patch b/xfce-extra/xfce4-places-plugin/files/xfce4-places-plugin-1.2.0-exo.patch
new file mode 100644
index 000000000000..a137688a7bd4
--- /dev/null
+++ b/xfce-extra/xfce4-places-plugin/files/xfce4-places-plugin-1.2.0-exo.patch
@@ -0,0 +1,39 @@
+http://bugzilla.xfce.org/show_bug.cgi?id=5754
+
+--- configure.in
++++ configure.in
+@@ -25,7 +25,7 @@
+ 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])
+
+ 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])
+--- panel-plugin/support.c
++++ panel-plugin/support.c
+@@ -52,10 +52,9 @@
+
+ if(path != NULL && *path != '\0'){
+
+- DBG("exo_url_show(%s)", path);
+- exo_success = exo_url_show(path, NULL, NULL);
++ GError *error = 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 +113,9 @@
+ 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);
+ }
+
+ /**