[Goodies-commits] r2905 - xfce4-places-plugin/branches/umount/panel-plugin

Diego Ongaro ongardie at xfce.org
Fri Jul 13 04:55:31 CEST 2007


Author: ongardie
Date: 2007-07-13 02:55:31 +0000 (Fri, 13 Jul 2007)
New Revision: 2905

Modified:
   xfce4-places-plugin/branches/umount/panel-plugin/places.c
Log:
Error introduced in previous commit to places plugin unmount branch.


Modified: xfce4-places-plugin/branches/umount/panel-plugin/places.c
===================================================================
--- xfce4-places-plugin/branches/umount/panel-plugin/places.c	2007-07-13 02:25:12 UTC (rev 2904)
+++ xfce4-places-plugin/branches/umount/panel-plugin/places.c	2007-07-13 02:55:31 UTC (rev 2905)
@@ -121,7 +121,7 @@
     gchar *path = NULL;
     gboolean path_owner = FALSE; /* whether this function "owns" path */
 
-    if(path != NULL){
+    if(const_path != NULL){
         if(strncmp(const_path, "trash://", 8) == 0){
             DBG("Can't load terminal at trash:// URI's");
             return;
@@ -137,6 +137,7 @@
         }
     }
 
+    DBG("Open terminal emulator at %s", path);
     exo_execute_preferred_application("TerminalEmulator", NULL, path, NULL, NULL);
 
     if(path_owner && path != NULL)




More information about the Goodies-commits mailing list