After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 300587 - Unable to exclude filtered items
Unable to exclude filtered items
Status: RESOLVED OBSOLETE
Product: libegg
Classification: Other
Component: recent-files
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Emmanuele Bassi (:ebassi)
Emmanuele Bassi (:ebassi)
Depends on:
Blocks:
 
 
Reported: 2005-04-14 08:29 UTC by Christian Neumair
Modified: 2005-07-22 12:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (5.60 KB, patch)
2005-04-14 08:47 UTC, Christian Neumair
none Details | Review
Proposed Patch (New Attempt) (5.29 KB, patch)
2005-04-14 08:52 UTC, Christian Neumair
rejected Details | Review

Description Christian Neumair 2005-04-14 08:29:24 UTC
EggRecent should provide means to exclude items that match filters.
This is desirable since one day nautilus might put its recently visited folders
into the global EggRecent file, but we don't want to have folders (identified by
mime types) listed in the global menu. Instead, we will create another folder
list which only contains items with folder mime types.

The most simple way to achieve this is to add a "filter-type" property to
EggRecentModel which determines whether filtered items will be shown or hidden.
Comment 1 Christian Neumair 2005-04-14 08:47:32 UTC
Created attachment 45240 [details] [review]
Proposed patch

Proposed patch against HEAD. adds egg_recent_model_set_filter and takes the
given value into consideration when deciding whether to show a particular menu
item.
Comment 2 Christian Neumair 2005-04-14 08:52:23 UTC
Created attachment 45241 [details] [review]
Proposed Patch (New Attempt)

Sorry, the first patch contained an error. It set the group when we matched the
scheme rule.
Comment 3 Emmanuele Bassi (:ebassi) 2005-07-22 10:33:25 UTC
the new RecentManager and RecentChooser code allows better filtering; I'm
marking this as an enhancement in order to track it down, but the recent-files
code is soon to be marked as deprecated in favour of the recentchooser code.
Comment 4 Christian Neumair 2005-07-22 12:42:59 UTC
Good news! :)