aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/ephy-bookmarks.c1
-rwxr-xr-xsrc/history-dialog.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c
index 2353ea7da..2432846e3 100644
--- a/src/bookmarks/ephy-bookmarks.c
+++ b/src/bookmarks/ephy-bookmarks.c
@@ -644,6 +644,7 @@ ephy_bookmarks_add (EphyBookmarks *eb,
ephy_node_add_child (eb->priv->bookmarks, bm);
ephy_bookmarks_emit_data_changed (eb);
+ ephy_bookmarks_save (eb);
return bm;
}
diff --git a/src/history-dialog.c b/src/history-dialog.c
index 4f5b5cc2b..ac9aa5449 100755
--- a/src/history-dialog.c
+++ b/src/history-dialog.c
@@ -311,9 +311,9 @@ get_date_filter (int filter_type,
case 4:
g_date_subtract_days (&current_date, 7);
break;
- /* Month */
+ /* Two weeks */
case 5:
- g_date_subtract_months (&current_date, 1);
+ g_date_subtract_days (&current_date, 14);
break;
default:
break;