Bugzilla – Bug 331462
There is no visible way to clear recent documents on the Computer menu
Last modified: 2009-08-11 04:07:33 UTC
On the Computer menu, at the Documents "tab", there is no visible action/button to clear the list. Also, right clicking the item and selecting "Move to Trash" does nothing. It has to be a way to clear it, i don't want my GF to find out that i saw porn ;) (just a use case for it) Thanks.
Looked for a duplicate but wasn't able to find one.
*** Bug 331689 has been marked as a duplicate of this bug. ***
A right-click on the empty part of the mm could have "Clear" which deletes ~/.recently-used*
Created attachment 188618 [details] main-menu-clear-recent.patch Here is the patch that adds a button to clear recently used, it just deletes ~/.recently-used* files. It may however not be the best approach, some other proper function can be placed instead of g_remove(recentfiles). All the work on the patch is done by captain_magnus.
Created attachment 188624 [details] Proposed solution The above patch uses the bookmark-agent to clear the recent documents. Still needs a little love.
I wonder if it's not easier/cleaner to just call 'gtk_recent_manager_purge_items' when clicking on the button?
Upstream bug about this; http://bugzilla.gnome.org/show_bug.cgi?id=394373
duplicated with 187819 *** This bug has been marked as a duplicate of bug 187879 ***