summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Willcox <jwillcox@gnome.org>2002-10-10 23:10:27 +0000
committerJames Willcox <jwillcox@src.gnome.org>2002-10-10 23:10:27 +0000
commit985cf52258cd5bc5f2664eccd8063cf00b55528b (patch)
tree37657ad7cbbca838ccdb3c65d0bb0cfe2e7281f1
parent02b91a82b3584aace8bdc52b3cc739ef36f85dc9 (diff)
downloadnautilus-985cf52258cd5bc5f2664eccd8063cf00b55528b.tar.gz
Set the recent-files limit to 0, since we aren't displaying the list at
2002-10-10 James Willcox <jwillcox@gnome.org> * src/file-manager/fm-directory-view.c: (fm_directory_view_init): Set the recent-files limit to 0, since we aren't displaying the list at all.
-rw-r--r--ChangeLog6
-rw-r--r--src/file-manager/fm-directory-view.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e8225f8bb..f9bbbb84e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-10-10 James Willcox <jwillcox@gnome.org>
+
+ * src/file-manager/fm-directory-view.c: (fm_directory_view_init):
+ Set the recent-files limit to 0, since we aren't displaying the
+ list at all.
+
2002-10-10 Dave Camp <dave@ximian.com>
* src/file-manager/Makefile.am: Added egg-recent files.
diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c
index b1f623819..b74040d80 100644
--- a/src/file-manager/fm-directory-view.c
+++ b/src/file-manager/fm-directory-view.c
@@ -1359,6 +1359,8 @@ fm_directory_view_init (FMDirectoryView *view)
sort_directories_first_changed_callback, view);
view->details->recent_model = egg_recent_model_new (EGG_RECENT_MODEL_SORT_NONE);
+ /* we aren't interested at all in viewing the list */
+ egg_recent_model_set_limit (view->details->recent_model, 0);
}
static void