From e68334f7597b0e7c9706f7acab3c9bb6ae744332 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Fri, 25 Nov 2011 22:46:09 +0530 Subject: [PATCH] Use exo's preferred file manager --- panel-plugin/support.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/panel-plugin/support.c b/panel-plugin/support.c index bd4fe5b..a4924e4 100644 --- a/panel-plugin/support.c +++ b/panel-plugin/support.c @@ -51,10 +51,8 @@ places_load_file_browser(const gchar *path) gboolean exo_success; if(path != NULL && *path != '\0'){ - - GError *error = NULL; - - 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.7.3