Bug 529356 - Please provide a way to remove hidden desktop files
Please provide a way to remove hidden desktop files
Status: NEW
Product: gnome-menus
Classification: Core
Component: libgnome-menu
2.22.x
Other All
: Normal enhancement
: ---
Assigned To: gnome-menus dummy account
gnome-menus dummy account
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2008-04-22 10:40 UTC by James Westby
Modified: 2008-04-22 13:23 UTC (History)
1 user (show)

See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments

Description James Westby 2008-04-22 10:40:08 UTC
Hi,

I have been trying to deal with https://launchpad.net/bugs/118936.

In order to fix that fully we need to be able to revert deletions.
Alacarte implements deletions by adding a .desktop file in the user's
home directory with "Hidden=True" set, and so it disappears from the
editor.

However, it's currently not possible to revert this, as the .desktop
files from the user's home directory can't be iterated.

It would be great if libgnome-menu could provide such functionality,
or something else to make this possible.

If I have missed functionality that exists already to do this I apologise,
and I would also appreciate any other suggestions you have for
a way to implement all of this.

Thanks,

James
Comment 1 Vincent Untz 2008-04-22 13:23:23 UTC
Maybe adding a new flag GMENU_TREE_FLAGS_INCLUDE_HIDDEN...

Note You need to log in before you can comment on or make changes to this bug.