]> Pileus Git - ~andy/gtk/commit
Move filtering of the recent files list into the shared implementation; do
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 15 Mar 2007 10:05:34 +0000 (10:05 +0000)
committerEmmanuele Bassi <ebassi@src.gnome.org>
Thu, 15 Mar 2007 10:05:34 +0000 (10:05 +0000)
commit4191ec6a027a48ff099d38bfcd6195b6cbc2fdaa
treea69fb4925d147a0f00483c1ba23ae2be77da63eb
parentd953ce87750f5be9a851df22f2f21a100f964ec1
Move filtering of the recent files list into the shared implementation; do

2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentchooserprivate.h:
* gtk/gtkrecentchooserutils.c: Move filtering of the recent
files list into the shared implementation; do the filtering
before the sorting, so that we always clamp on the desired
size. (#418219)

* gtk/gtkrecentchoosermenu.c: Remove the filtering of the
list, as it's already been done.

* gtk/gtkrecentchooserdefault.c: Ditto; also remove the
GtkTreeModelFilter: just reload the view if the sorting and
filtering properties change.

* gtk/testrecentchoosermenu.c: Exercise the limit property.

svn path=/trunk/; revision=17516
ChangeLog
gtk/gtkrecentchooserdefault.c
gtk/gtkrecentchoosermenu.c
gtk/gtkrecentchooserprivate.h
gtk/gtkrecentchooserutils.c
tests/testrecentchoosermenu.c