Browse Source

Launcher: Fix desktop file monitoring on some systems.

tags/xfce4-panel-4.10.0
Nick Schermer 9 years ago
parent
commit
d4eaabf542
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      plugins/launcher/launcher.c

+ 2
- 1
plugins/launcher/launcher.c View File

@@ -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 */


Loading…
Cancel
Save