[Goodies-commits] r6859 - in xfce4-notes-plugin/trunk: . panel-plugin

Mike Massonnet mmassonnet at xfce.org
Sat Mar 7 17:51:17 CET 2009


Author: mmassonnet
Date: 2009-03-07 16:51:16 +0000 (Sat, 07 Mar 2009)
New Revision: 6859

Modified:
   xfce4-notes-plugin/trunk/ChangeLog
   xfce4-notes-plugin/trunk/panel-plugin/panel-plugin.c
Log:
	* panel-plugin/panel-plugin.c(notes_plugin_fs_event):
	  - Do to a bug occuring within the deletion of the default window,
	  this feature is removed

Modified: xfce4-notes-plugin/trunk/ChangeLog
===================================================================
--- xfce4-notes-plugin/trunk/ChangeLog	2009-03-07 13:34:56 UTC (rev 6858)
+++ xfce4-notes-plugin/trunk/ChangeLog	2009-03-07 16:51:16 UTC (rev 6859)
@@ -1,3 +1,10 @@
+2009-03-07  Mike Massonnet <mmassonnet at xfce.org>
+
+No rm -rf on the window path
+	* panel-plugin/panel-plugin.c(notes_plugin_fs_event):
+	  - Do to a bug occuring within the deletion of the default window,
+	  this feature is removed
+
 2009-02-28  Mike Massonnet <mmassonnet at xfce.org>
 
 Fix warnings

Modified: xfce4-notes-plugin/trunk/panel-plugin/panel-plugin.c
===================================================================
--- xfce4-notes-plugin/trunk/panel-plugin/panel-plugin.c	2009-03-07 13:34:56 UTC (rev 6858)
+++ xfce4-notes-plugin/trunk/panel-plugin/panel-plugin.c	2009-03-07 16:51:16 UTC (rev 6859)
@@ -510,9 +510,11 @@
       break;
 
     case THUNAR_VFS_MONITOR_EVENT_DELETED:
-      /* Remove a NotesWindow */
-      if (G_UNLIKELY (NULL != notes_window))
-        notes_window_destroy (notes_window);
+      /* Due to bad behavior this feature is not implemented.
+       * The bug happens when the last window with the default name "Notes" is
+       * deleted and we create a new window with the default name. The fs_event
+       * will then believe that the new window is the old one (same name).
+       * In consequence no rm -rf ~/.local/share/notes/Notes/. */
       break;
 
     default:




More information about the Goodies-commits mailing list