diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | embed/ephy-history.c | 1 | ||||
-rw-r--r-- | src/ephy-history-window.c | 11 |
3 files changed, 15 insertions, 6 deletions
@@ -1,3 +1,12 @@ +2003-09-30 Marco Pesenti Gritti <marco@gnome.org> + + * embed/ephy-history.c: + * src/ephy-history-window.c: (build_search_box): + + More accurate description for Ever filter. + Keep the backend as is, so we dont have to change + it if we change history expire. + 2003-09-29 Marco Pesenti Gritti <marco@gnome.org> * data/default-prefs.js: diff --git a/embed/ephy-history.c b/embed/ephy-history.c index a0e6a6626..8ba9edbb8 100644 --- a/embed/ephy-history.c +++ b/embed/ephy-history.c @@ -40,6 +40,7 @@ /* how often to save the history, in milliseconds */ #define HISTORY_SAVE_INTERVAL (60 * 5 * 1000) +/* if you change this remember to change also the user interface description */ #define HISTORY_PAGE_OBSOLETE_DAYS 10 #define EPHY_HISTORY_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), EPHY_TYPE_HISTORY, EphyHistoryPrivate)) diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c index 28aac69e6..2a64824aa 100644 --- a/src/ephy-history-window.c +++ b/src/ephy-history-window.c @@ -127,10 +127,10 @@ enum enum { - TIME_EVER, TIME_TODAY, TIME_LAST_TWO_DAYS, - TIME_LAST_THREE_DAYS + TIME_LAST_THREE_DAYS, + TIME_EVER }; #define TIME_EVER_STRING "ever" @@ -965,10 +965,6 @@ build_search_box (EphyHistoryWindow *editor) gtk_widget_show (optionmenu); menu = gtk_menu_new (); gtk_widget_show (menu); - item = gtk_menu_item_new_with_mnemonic (_("Ever")); - gtk_widget_show (item); - gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); - gtk_widget_show (item); item = gtk_menu_item_new_with_mnemonic (_("Today")); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); gtk_widget_show (item); @@ -978,6 +974,9 @@ build_search_box (EphyHistoryWindow *editor) item = gtk_menu_item_new_with_mnemonic (_("Last three days")); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); gtk_widget_show (item); + item = gtk_menu_item_new_with_mnemonic (_("Last ten days")); + gtk_widget_show (item); + gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); gtk_option_menu_set_menu (GTK_OPTION_MENU (optionmenu), menu); str = eel_gconf_get_string (CONF_HISTORY_DATE_FILTER); |