aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-new-bookmark.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-07-23 18:03:56 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-07-23 18:03:56 +0800
commit456d9144bd889aa71e277fc9e7b06f3d654931cf (patch)
treec687c5665f334e623c98a7519217483215173c0a /src/bookmarks/ephy-new-bookmark.c
parentdc446979575a5a845199a48c926c34df0ef9d49e (diff)
downloadgsoc2013-epiphany-456d9144bd889aa71e277fc9e7b06f3d654931cf.tar
gsoc2013-epiphany-456d9144bd889aa71e277fc9e7b06f3d654931cf.tar.gz
gsoc2013-epiphany-456d9144bd889aa71e277fc9e7b06f3d654931cf.tar.bz2
gsoc2013-epiphany-456d9144bd889aa71e277fc9e7b06f3d654931cf.tar.lz
gsoc2013-epiphany-456d9144bd889aa71e277fc9e7b06f3d654931cf.tar.xz
gsoc2013-epiphany-456d9144bd889aa71e277fc9e7b06f3d654931cf.tar.zst
gsoc2013-epiphany-456d9144bd889aa71e277fc9e7b06f3d654931cf.zip
Add support for toggles. When editing is canceled remove the node.
2004-07-23 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-marshal.list: * lib/widgets/ephy-node-view.c: (path_toggled), (ephy_node_view_key_press_cb), (get_selection_refs), (ephy_node_view_button_press_cb), (cell_renderer_edited), (renderer_editing_canceled_cb), (ephy_node_view_add_column), (ephy_node_view_init), (ephy_node_view_edit), (ephy_node_view_constructor), (ephy_node_view_add_toggle), (ephy_node_view_class_init): * lib/widgets/ephy-node-view.h: Add support for toggles. When editing is canceled remove the node. * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_get_type), (ephy_topics_selector_set_bookmarks), (ephy_topics_selector_set_property), (ephy_topics_selector_apply), (provide_toggle), (ephy_topics_selector_constructor), (topic_destroy_cb), (node_toggled_cb), (ephy_topics_selector_init), (ephy_topics_selector_new), (ephy_topics_selector_new_topic), (ephy_topics_selector_class_init): * src/bookmarks/ephy-topics-selector.h: Use EphyNodeView instead of a list store. Share a lot of code and we get updating for free. Fix bug #144770
Diffstat (limited to 'src/bookmarks/ephy-new-bookmark.c')
-rw-r--r--src/bookmarks/ephy-new-bookmark.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-new-bookmark.c b/src/bookmarks/ephy-new-bookmark.c
index 742ae005b..5897a23d1 100644
--- a/src/bookmarks/ephy-new-bookmark.c
+++ b/src/bookmarks/ephy-new-bookmark.c
@@ -164,8 +164,7 @@ ephy_new_bookmark_add (EphyNewBookmark *new_bookmark)
new_bookmark->priv->location);
new_bookmark->priv->id = ephy_node_get_id (node);
- ephy_topics_selector_set_bookmark (selector, node);
- ephy_topics_selector_apply (selector);
+ ephy_topics_selector_apply (selector, node);
if (new_bookmark->priv->icon)
{