From 7014ade59d040af73eb701f95450d6196145ab31 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Mon, 20 Aug 2012 16:38:08 +0100 Subject: [PATCH] Use exo's preferred file manager Update https://bugzilla.xfce.org/attachment.cgi?id=3983 for current git. --- panel-plugin/support.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/panel-plugin/support.c b/panel-plugin/support.c index c3c1e9d..e79d3da 100644 --- a/panel-plugin/support.c +++ b/panel-plugin/support.c @@ -48,11 +48,10 @@ void places_load_file_browser(const gchar *path) { - GError *error = NULL; if(path != NULL && *path != '\0'){ - if(!gtk_show_uri(NULL, path, 0, &error)){ + if(!exo_execute_preferred_application("FileManager", path, NULL, NULL, NULL)) { gchar *cmd = g_strconcat("thunar \"", path, "\"", NULL); DBG("exec: %s", cmd); places_gui_exec(cmd); -- 1.7.8.6