[Feature Request] Allow creating subdirectories for directories in preinstalled system path
Bug #1315872 reported by
Pasi Lallinaho
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MenuLibre |
Fix Released
|
Wishlist
|
OmegaPhil |
Bug Description
Currently, one can't create a subdirectory for directories in preinstalled system path, eg. Games. Instead of giving an ambiguous message and forcing the user to create a new Games-directory, MenuLibre should allow this by copying the system path directory to ~/.local.
Changed in menulibre: | |
status: | New → Confirmed |
Changed in menulibre: | |
importance: | Undecided → Low |
summary: |
- Allow creating subdirectories for directories in preinstalled system - path + [Feature Request] Allow creating subdirectories for directories in + preinstalled system path |
Changed in menulibre: | |
importance: | Low → Wishlist |
Changed in menulibre: | |
assignee: | nobody → OmegaPhil (omegaphil) |
Changed in menulibre: | |
milestone: | none → 2.1.4 |
Changed in menulibre: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This functionality was actually removed on purpose by Sean in commits 6a3559199017408 de8658ecbe0265a fff77f7ad1 ('Prevent adding submenus to pre-installed system paths.', Sat Mar 1 12:13:41 2014 -0500) and 0a01372ed134b3a 5858f82f44de823 b130ccb57c ('Do not run xdg-desktop-menu install on known system directories', Sat Mar 1 11:41:49 2014 -0500), although there is no justification given.
I have disabled the checks to prevent adding directories to system directories, and also found that items added in these custom directories need to have explicit Include nodes in the output XML - attached is a test commit that works for me (i.e. there are still some debug comments in there etc).
Is this approach OK?