[Goodies-commits] r7428 - in xfce4-places-plugin/trunk: . panel-plugin
Diego Ongaro
ongardie at xfce.org
Thu May 28 05:08:22 CEST 2009
Author: ongardie
Date: 2009-05-28 03:08:22 +0000 (Thu, 28 May 2009)
New Revision: 7428
Modified:
xfce4-places-plugin/trunk/ChangeLog
xfce4-places-plugin/trunk/panel-plugin/support.c
Log:
Fixes loading file browser on xfce 4.6
"exo-open file://" will open the web browser on xfce 4.6.
This will use "exo-open file:///home/username/" instead.
Modified: xfce4-places-plugin/trunk/ChangeLog
===================================================================
--- xfce4-places-plugin/trunk/ChangeLog 2009-05-27 22:36:46 UTC (rev 7427)
+++ xfce4-places-plugin/trunk/ChangeLog 2009-05-28 03:08:22 UTC (rev 7428)
@@ -1,3 +1,7 @@
+2009-05-27 Diego Ongaro <ongardie at gmail.com>
+
+ * support.c: Fix loading file browser on xfce 4.6.
+
2009-05-24 Diego Ongaro <ongardie at gmail.com>
* model_system.c: Use xdg-compatible icons. Thanks to
Modified: xfce4-places-plugin/trunk/panel-plugin/support.c
===================================================================
--- xfce4-places-plugin/trunk/panel-plugin/support.c 2009-05-27 22:36:46 UTC (rev 7427)
+++ xfce4-places-plugin/trunk/panel-plugin/support.c 2009-05-28 03:08:22 UTC (rev 7428)
@@ -64,14 +64,11 @@
}else{
- DBG("exo_url_show(file://");
- exo_success = exo_url_show("file://", NULL, NULL);
+ gchar *home;
+ home = g_strconcat("file://", xfce_get_homedir(), NULL);
+ places_load_file_browser(home);
+ g_free(home);
- if(!exo_success){
- DBG("exec: thunar");
- places_gui_exec("thunar");
- }
-
}
}
More information about the Goodies-commits
mailing list