Browse Source

Launcher: Fix desktop file monitoring on some systems.

upstream/xfce4-panel-4.10.1
Nick Schermer 10 years ago
parent
commit
d4eaabf542
  1. 3
      plugins/launcher/launcher.c

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

Loading…
Cancel
Save