Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
xfce4-panel-plugins.import5786
xfce4-places-plugin-1.2.0-fix-build-with-4.7.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfce4-places-plugin-1.2.0-fix-build-with-4.7.patch of Package xfce4-panel-plugins.import5786
diff -ur xfce4-places-plugin-1.2.0.orig/configure.in xfce4-places-plugin-1.2.0/configure.in --- xfce4-places-plugin-1.2.0.orig/configure.in 2009-07-31 08:21:02.000000000 +0200 +++ xfce4-places-plugin-1.2.0/configure.in 2010-12-07 12:36:38.000000000 +0100 @@ -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.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]) diff -ur xfce4-places-plugin-1.2.0.orig/panel-plugin/support.c xfce4-places-plugin-1.2.0/panel-plugin/support.c --- xfce4-places-plugin-1.2.0.orig/panel-plugin/support.c 2009-05-28 04:46:14.000000000 +0200 +++ xfce4-places-plugin-1.2.0/panel-plugin/support.c 2010-12-07 13:01:34.000000000 +0100 @@ -27,6 +27,8 @@ #endif #include <glib.h> +#include <gdk/gdk.h> +#include <gtk/gtk.h> #include <libxfce4util/libxfce4util.h> #include <libxfcegui4/libxfcegui4.h> @@ -52,8 +54,11 @@ if(path != NULL && *path != '\0'){ - DBG("exo_url_show(%s)", path); - exo_success = exo_url_show(path, NULL, NULL); + DBG("gtk_show_uri(%s)", path); + exo_success = gtk_show_uri(gdk_screen_get_default(), + path, + GDK_CURRENT_TIME, + NULL); if(!exo_success){ gchar *cmd = g_strconcat("thunar \"", path, "\"", NULL); @@ -115,7 +120,10 @@ places_load_file(const gchar *path) { if(path != NULL && *path != '\0') - exo_url_show(path, NULL, NULL); + gtk_show_uri(gdk_screen_get_default(), + path, + GDK_CURRENT_TIME, + NULL); } /**
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor