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 /src/bookmarks/ephy-topics-selector.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 'src/bookmarks/ephy-topics-selector.h')
-rw-r--r-- | src/bookmarks/ephy-topics-selector.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/bookmarks/ephy-topics-selector.h b/src/bookmarks/ephy-topics-selector.h index ce4a4ac35..733d48f41 100644 --- a/src/bookmarks/ephy-topics-selector.h +++ b/src/bookmarks/ephy-topics-selector.h @@ -22,8 +22,7 @@ #define EPHY_TOPICS_SELECTOR_H #include "ephy-bookmarks.h" - -#include <gtk/gtktreeview.h> +#include "ephy-node-view.h" G_BEGIN_DECLS @@ -38,7 +37,7 @@ typedef struct EphyTopicsSelectorPrivate EphyTopicsSelectorPrivate; typedef struct { - GtkTreeView parent; + EphyNodeView parent; /*< private >*/ EphyTopicsSelectorPrivate *priv; @@ -46,7 +45,7 @@ typedef struct typedef struct { - GtkTreeViewClass parent; + EphyNodeViewClass parent; } EphyTopicsSelectorClass; GType ephy_topics_selector_get_type (void); @@ -54,12 +53,10 @@ GType ephy_topics_selector_get_type (void); GtkWidget *ephy_topics_selector_new (EphyBookmarks *bookmarks, EphyNode *bookmark); -void ephy_topics_selector_set_bookmark (EphyTopicsSelector *selector, - EphyNode *bookmark); - void ephy_topics_selector_new_topic (EphyTopicsSelector *selector); -void ephy_topics_selector_apply (EphyTopicsSelector *selector); +void ephy_topics_selector_apply (EphyTopicsSelector *selector, + EphyNode *bookmark); G_END_DECLS |