diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2004-07-23 18:03:56 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2004-07-23 18:03:56 +0800 |
commit | 456d9144bd889aa71e277fc9e7b06f3d654931cf (patch) | |
tree | c687c5665f334e623c98a7519217483215173c0a /lib/widgets/ephy-node-view.h | |
parent | dc446979575a5a845199a48c926c34df0ef9d49e (diff) | |
download | gsoc2013-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 'lib/widgets/ephy-node-view.h')
-rw-r--r-- | lib/widgets/ephy-node-view.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/widgets/ephy-node-view.h b/lib/widgets/ephy-node-view.h index 1896eb233..91886dc67 100644 --- a/lib/widgets/ephy-node-view.h +++ b/lib/widgets/ephy-node-view.h @@ -65,6 +65,7 @@ typedef struct { GtkTreeViewClass parent; + void (*node_toggled) (EphyNodeView *view, EphyNode *node, gboolean checked); void (*node_activated) (EphyNodeView *view, EphyNode *node); void (*node_selected) (EphyNodeView *view, EphyNode *node); void (*node_dropped) (EphyNodeView *view, EphyNode *node, GList *uris); @@ -78,6 +79,10 @@ GtkWidget *ephy_node_view_new (EphyNode *root, void ephy_node_view_enable_dnd (EphyNodeView *view); +void ephy_node_view_add_toggle (EphyNodeView *view, + EphyTreeModelNodeValueFunc value_func, + gpointer data); + GtkTreeViewColumn *ephy_node_view_add_column (EphyNodeView *view, const char *title, GType value_type, |