entry-directories.c: restore retry handling to state prior to commit
7516e8d138072d167ea93b3.
This was not strictly needed for the scope of what got fixed in that
commit, and seems to have caused missing menu entries to start
cropping up again, the original fix for which was a string of commits
starting here: b5495c4176e8f4dc3f52ec726e)
Michael Webster
5 years ago
362 | 362 | tmp = tmp->next; |
363 | 363 | } |
364 | 364 | |
365 | return FALSE; | |
365 | return cached_dir_add_entry (dir, basename, path); | |
366 | 366 | } |
367 | 367 | |
368 | 368 | static gboolean |
551 | 551 | switch (event) |
552 | 552 | { |
553 | 553 | case MENU_MONITOR_EVENT_CREATED: |
554 | handled = cached_dir_add_entry (dir, basename, path); | |
555 | break; | |
556 | 554 | case MENU_MONITOR_EVENT_CHANGED: |
557 | 555 | handled = cached_dir_update_entry (dir, basename, path); |
558 | 556 | break; |