aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Willcox <jwillcox@gnome.org>2003-02-11 07:24:41 +0800
committerJames Willcox <jwillcox@src.gnome.org>2003-02-11 07:24:41 +0800
commitc24243f0891977fd37ab4a19ecbbd87db01a9c59 (patch)
treedb57d561d8f7817df278aefba8abd3ca8d3e4f09
parentc4464cadae6923fc42bfa205e5c701cf5eb0277d (diff)
downloadgsoc2013-epiphany-c24243f0891977fd37ab4a19ecbbd87db01a9c59.tar
gsoc2013-epiphany-c24243f0891977fd37ab4a19ecbbd87db01a9c59.tar.gz
gsoc2013-epiphany-c24243f0891977fd37ab4a19ecbbd87db01a9c59.tar.bz2
gsoc2013-epiphany-c24243f0891977fd37ab4a19ecbbd87db01a9c59.tar.lz
gsoc2013-epiphany-c24243f0891977fd37ab4a19ecbbd87db01a9c59.tar.xz
gsoc2013-epiphany-c24243f0891977fd37ab4a19ecbbd87db01a9c59.tar.zst
gsoc2013-epiphany-c24243f0891977fd37ab4a19ecbbd87db01a9c59.zip
Make the bookmarks editor properly select the "All" keyword if it was the
2003-02-10 James Willcox <jwillcox@gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_dispose): Make the bookmarks editor properly select the "All" keyword if it was the last keyword selected.
-rw-r--r--ChangeLog8
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e161285a4..2da0c9272 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-02-10 James Willcox <jwillcox@gnome.org>
+
+ * src/bookmarks/ephy-bookmarks-editor.c:
+ (ephy_bookmarks_editor_dispose):
+
+ Make the bookmarks editor properly select the "All" keyword if
+ it was the last keyword selected.
+
2003-02-10 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/widgets/ephy-toolbars-group.c:
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 93a4123cc..3f106fa4b 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -148,7 +148,7 @@ ephy_bookmarks_editor_dispose (GObject *object)
}
selected_id = ephy_node_get_id (EPHY_NODE (selection->data));
- if (selected_id > 0)
+ if (selected_id >= 0)
{
selected_id_str = g_strdup_printf ("%ld", selected_id);
eel_gconf_set_string (CONF_BOOKMARKS_SELECTED_NODE,