[Xfce4-commits] <xfce4-panel:master> Launcher: Fix desktop file monitoring on some systems.

Nick Schermer noreply at xfce.org
Sun Apr 1 17:16:01 CEST 2012


Updating branch refs/heads/master
         to d4eaabf542b0338b9fbae60636c52852083f2826 (commit)
       from 168c337b43cdadf41a2f2bc53ef2b40693666b92 (commit)

commit d4eaabf542b0338b9fbae60636c52852083f2826
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Apr 1 16:20:58 2012 +0200

    Launcher: Fix desktop file monitoring on some systems.

 plugins/launcher/launcher.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/plugins/launcher/launcher.c b/plugins/launcher/launcher.c
index f159d37..6479869 100644
--- a/plugins/launcher/launcher.c
+++ b/plugins/launcher/launcher.c
@@ -912,7 +912,8 @@ launcher_plugin_file_changed (GFileMonitor      *monitor,
 
   /* waited until all events are proccessed */
   if (event_type != G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT
-      && event_type != G_FILE_MONITOR_EVENT_DELETED)
+      && event_type != G_FILE_MONITOR_EVENT_DELETED
+      && event_type != G_FILE_MONITOR_EVENT_CREATED)
     return;
 
   /* we only act on desktop files */


More information about the Xfce4-commits mailing list