Package list cinnamon-menus / 16817d7
entry-directories: Only log about invalidations if it was handled Jasper St. Pierre authored 8 years ago Clement Lefebvre committed 4 years ago
1 changed file(s) with 6 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
536536
537537 char *basename;
538538 char *dirname;
539
540 menu_verbose ("'%s' notified of '%s' %s - invalidating cache\n",
541 dir->name,
542 path,
543 event == MENU_MONITOR_EVENT_CREATED ? ("created") :
544 event == MENU_MONITOR_EVENT_DELETED ? ("deleted") : ("changed"));
545539
546540 dirname = g_path_get_dirname (path);
547541 basename = g_path_get_basename (path);
646640
647641 if (handled)
648642 {
643 menu_verbose ("'%s' notified of '%s' %s - invalidating cache\n",
644 dir->name,
645 path,
646 event == MENU_MONITOR_EVENT_CREATED ? ("created") :
647 event == MENU_MONITOR_EVENT_DELETED ? ("deleted") : ("changed"));
648
649649 /* CHANGED events don't change the set of desktop entries, unless it's the mimeinfo.cache file changing */
650650 if (retry_changes || (event == MENU_MONITOR_EVENT_CREATED || event == MENU_MONITOR_EVENT_DELETED))
651651 {