Bug 331462 - There is no visible way to clear recent documents on the Computer menu
Summary: There is no visible way to clear recent documents on the Computer menu
Status: RESOLVED DUPLICATE of bug 187879
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Final
Hardware: Other openSUSE 10.3
: P3 - Medium : Enhancement (vote)
Target Milestone: ---
Assignee: Federico Mena Quintero
QA Contact: E-mail List
URL:
Whiteboard: gnome-usability gnomeup-gnome-main-menu
Keywords:
Depends on:
Blocks: main-menu-behavior
  Show dependency treegraph
 
Reported: 2007-10-05 21:32 UTC by Thiago Sayao
Modified: 2009-08-11 04:07 UTC (History)
5 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
main-menu-clear-recent.patch (5.36 KB, text/x-patch)
2007-12-23 09:18 UTC, Jigish Gohil
Details
Proposed solution (99.44 KB, patch)
2007-12-23 13:21 UTC, Lukas Lipka
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***