aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-09-30 06:26:20 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-09-30 06:26:20 +0800
commitd573e7f57f85d6b8c537f631c58638b0f71db01f (patch)
tree3ac1b85ba54ecd5ac1d7a7958193810d8b33fe93
parent489144a63292736d5b8abb3fb04175638db70cc8 (diff)
downloadgsoc2013-epiphany-d573e7f57f85d6b8c537f631c58638b0f71db01f.tar
gsoc2013-epiphany-d573e7f57f85d6b8c537f631c58638b0f71db01f.tar.gz
gsoc2013-epiphany-d573e7f57f85d6b8c537f631c58638b0f71db01f.tar.bz2
gsoc2013-epiphany-d573e7f57f85d6b8c537f631c58638b0f71db01f.tar.lz
gsoc2013-epiphany-d573e7f57f85d6b8c537f631c58638b0f71db01f.tar.xz
gsoc2013-epiphany-d573e7f57f85d6b8c537f631c58638b0f71db01f.tar.zst
gsoc2013-epiphany-d573e7f57f85d6b8c537f631c58638b0f71db01f.zip
More accurate description for Ever filter. Keep the backend as is, so we
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.
-rw-r--r--ChangeLog9
-rw-r--r--embed/ephy-history.c1
-rw-r--r--src/ephy-history-window.c11
3 files changed, 15 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index d60947c0c..144f47549 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);