aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-03-02 04:12:32 +0800
committerChristian Persch <chpe@src.gnome.org>2004-03-02 04:12:32 +0800
commit67a48b9741659c516d6e62f0a9f85a3493d8010f (patch)
tree51d5f2f29d9a888635bcc8ce723d8d7f9bbef1e7
parent048097ea7ab957055ba125557bac9e96d7754129 (diff)
downloadgsoc2013-epiphany-67a48b9741659c516d6e62f0a9f85a3493d8010f.tar.gz
gsoc2013-epiphany-67a48b9741659c516d6e62f0a9f85a3493d8010f.tar.zst
gsoc2013-epiphany-67a48b9741659c516d6e62f0a9f85a3493d8010f.zip
When changing a bookmark address and it was a smart bookmark but now is
2004-03-01 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (update_has_smart_address): When changing a bookmark address and it was a smart bookmark but now is not anymore, remove the bookmark from the smart_bmks node instead of adding it :)
-rw-r--r--ChangeLog8
-rw-r--r--src/bookmarks/ephy-bookmarks.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c7b32278f..39f2e86ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2004-03-01 Christian Persch <chpe@cvs.gnome.org>
+ * src/bookmarks/ephy-bookmarks.c: (update_has_smart_address):
+
+ When changing a bookmark address and it was a smart bookmark but
+ now is not anymore, remove the bookmark from the smart_bmks node
+ instead of adding it :)
+
+2004-03-01 Christian Persch <chpe@cvs.gnome.org>
+
* src/ephy-toolbars-model.c: (get_toolbar_pos),
(ephy_toolbars_model_set_bookmarks):
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c
index 928813f81..88e9c5d65 100644
--- a/src/bookmarks/ephy-bookmarks.c
+++ b/src/bookmarks/ephy-bookmarks.c
@@ -806,7 +806,7 @@ update_has_smart_address (EphyBookmarks *bookmarks, EphyNode *bmk, const char *a
{
if (ephy_node_has_child (smart_bmks, bmk))
{
- ephy_node_add_child (smart_bmks, bmk);
+ ephy_node_remove_child (smart_bmks, bmk);
}
}
}