Bug 331462

Summary: There is no visible way to clear recent documents on the Computer menu
Product: [openSUSE] openSUSE 11.0 Reporter: Thiago Sayao <thiago.sayao>
Component: GNOMEAssignee: Federico Mena Quintero <federico>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P3 - Medium CC: captain.magnus, cyberorg, dliang, lukaslipka, vuntz
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE 10.3   
Whiteboard: gnome-usability gnomeup-gnome-main-menu
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 341831    
Attachments: main-menu-clear-recent.patch
Proposed solution

Description Thiago Sayao 2007-10-05 21:32:07 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.
Comment 1 Mark Gordon 2007-10-05 21:56:34 UTC
Looked for a duplicate but wasn't able to find one.
Comment 2 Mark Gordon 2007-10-08 16:32:21 UTC
*** Bug 331689 has been marked as a duplicate of this bug. ***
Comment 4 Jigish Gohil 2007-12-22 06:29:22 UTC
A right-click on the empty part of the mm could have "Clear" which deletes ~/.recently-used*

Comment 5 Jigish Gohil 2007-12-23 09:18:25 UTC
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.
Comment 6 Lukas Lipka 2007-12-23 13:21:48 UTC
Created attachment 188624 [details]
Proposed solution

The above patch uses the bookmark-agent to clear the recent documents. Still needs a little love.
Comment 7 Magnus Boman 2008-07-08 03:53:57 UTC
I wonder if it's not easier/cleaner to just call 'gtk_recent_manager_purge_items' when clicking on the button?
Comment 8 Magnus Boman 2008-12-26 21:24:44 UTC
Upstream bug about this; http://bugzilla.gnome.org/show_bug.cgi?id=394373
Comment 9 David Liang 2009-08-11 04:07:33 UTC
duplicated with 187819

*** This bug has been marked as a duplicate of bug 187879 ***