[Nautilus-list] Patch: bug 74893
- From: Dave Bordoley <bordoley msu edu>
- To: nautilus-list lists eazel com
- Subject: [Nautilus-list] Patch: bug 74893
- Date: 25 Apr 2002 21:40:07 -0400
This patch limits the number of history items in the go menu to the ten
most recent, so that the menu doesn't get unwieldy.
Index: nautilus-window-menus.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/nautilus-window-menus.c,v
retrieving revision 1.236
diff -u -p -r1.236 nautilus-window-menus.c
--- nautilus-window-menus.c 2002/04/21 22:41:17 1.236
+++ nautilus-window-menus.c 2002/04/26 01:25:06
@@ -1296,6 +1296,11 @@ refresh_go_menu (NautilusWindow *window)
MENU_PATH_HISTORY_PLACEHOLDER,
index,
FALSE);
+
+ /* Limit the number of history items to the ten most recent*/
+ if (index == 9){
+ break;
+ }
}
bonobo_ui_component_thaw (window->details->shell_ui, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]