! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Non existing directories not monitored
Status:
RESOLVED: FIXED

Comments

Description Lionel Le Folgoc 2011-03-19 23:19:26 CET
Created attachment 3571 
Proposed patch

Hi,

In garcon 0.1.5, if a directory doesn't exist when the menu is first built, then it is not considered in the dir list and thus not monitored. The main use case for that is probably $XDG_DATA_HOME/applications: if it doesn't exist and a menu editor creates it to write desktop files in it, they won't be seen by garcon.

The attached patch fixes this issue here (after some testing it seems to work fine, but maybe there are some issues I didn't see, e.g. on non-linux platforms?).

Thanks!

PS: the patch is generated on top of the one attached in Bug 7187
Comment 1 Nick Schermer editbugs 2011-04-06 18:39:26 CEST
Seems to work fine, so applied in 5cfabfa.

Bug #7423

Reported by:
Lionel Le Folgoc
Reported on: 2011-03-19
Last modified on: 2011-04-06

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
unspecified

Attachments

Proposed patch (3.16 KB, patch)
2011-03-19 23:19 CET , Lionel Le Folgoc
no flags

Additional information