aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-node-view.h
diff options
context:
space:
mode:
authorDavid Bordoley <bordoley@msu.edu>2003-03-31 23:40:10 +0800
committerDave Bordoley <Bordoley@src.gnome.org>2003-03-31 23:40:10 +0800
commit8c10e78e46c4427326cc9cb7162aa65346048102 (patch)
treee8124a8ced253d59e699c7f7408b68eaf8c9058c /src/bookmarks/ephy-node-view.h
parent668bf3c20445fdd23862a7b7140df68ee3b63fc0 (diff)
downloadgsoc2013-epiphany-8c10e78e46c4427326cc9cb7162aa65346048102.tar
gsoc2013-epiphany-8c10e78e46c4427326cc9cb7162aa65346048102.tar.gz
gsoc2013-epiphany-8c10e78e46c4427326cc9cb7162aa65346048102.tar.bz2
gsoc2013-epiphany-8c10e78e46c4427326cc9cb7162aa65346048102.tar.lz
gsoc2013-epiphany-8c10e78e46c4427326cc9cb7162aa65346048102.tar.xz
gsoc2013-epiphany-8c10e78e46c4427326cc9cb7162aa65346048102.tar.zst
gsoc2013-epiphany-8c10e78e46c4427326cc9cb7162aa65346048102.zip
Update to reflect changes in EphyTopicSelector api. Wrap the topic
2003-03-30 David Bordoley <bordoley@msu.edu> * src/bookmarks/ephy-bookmark-properties.c: (build_ui): Update to reflect changes in EphyTopicSelector api. Wrap the topic selector in a GtkScrolledWindow. * src/bookmarks/ephy-bookmarks-editor.c: (cmd_add_topic), (cmd_rename), (cmd_open_bookmarks_in_tabs), (cmd_open_bookmarks_in_browser), (cmd_delete), (cmd_bookmark_properties), (cmd_select_all), (ephy_bookmarks_editor_dispose), (keyword_node_selected_cb), (ephy_bookmarks_editor_construct), (ephy_bookmarks_editor_update_menu): Update to reflect changes in EphyNodeView api. Wrap bm_view and key_view in GtkScrolledWindows. s/_Open In New Window/_Open in New Window and s/Open In New _Tabs/Open in New _Tab. * src/bookmarks/ephy-new-bookmark.c: (build_editing_table): Update to reflect changes in EphyTopicSelector api. Wrap the topic selector in a GtkScrolledWindow. * src/bookmarks/ephy-node-view.c: (ephy_node_view_get_type), (ephy_node_view_construct), (ephy_node_view_new), (ephy_node_view_add_column), (ephy_node_view_add_icon_column), (ephy_node_view_get_selection), (ephy_node_view_has_focus), (ephy_node_view_set_browse_mode), (ephy_node_view_select_node), (ephy_node_view_enable_drag_dest), (ephy_node_view_enable_drag_source), (ephy_node_view_set_hinted), (ephy_node_view_edit): * src/bookmarks/ephy-node-view.h: Inherit from GtkTreeView instead of GtkScrolledWindow and change methods to reflect the change. Allow for better/easier keynav. Return a GtkWidget from ephy_node_view_new to be consistent with GTK. * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_get_type), (mneumonic_activated), (ephy_topics_build_ui), (ephy_topics_selector_new): * src/bookmarks/ephy-topics-selector.h: Inherit from GtkTreeView instead of GtkScrolledWindow and change methods to reflect the change. Allow for better/easier keynav.
Diffstat (limited to 'src/bookmarks/ephy-node-view.h')
-rw-r--r--src/bookmarks/ephy-node-view.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/bookmarks/ephy-node-view.h b/src/bookmarks/ephy-node-view.h
index 08b5757e0..7889791bc 100644
--- a/src/bookmarks/ephy-node-view.h
+++ b/src/bookmarks/ephy-node-view.h
@@ -21,7 +21,7 @@
#ifndef __EPHY_NODE_VIEW_H
#define __EPHY_NODE_VIEW_H
-#include <gtk/gtkscrolledwindow.h>
+#include <gtk/gtktreeview.h>
#include <gtk/gtkdnd.h>
#include "ephy-tree-model-node.h"
@@ -40,14 +40,14 @@ typedef struct EphyNodeViewPrivate EphyNodeViewPrivate;
typedef struct
{
- GtkScrolledWindow parent;
+ GtkTreeView parent;
EphyNodeViewPrivate *priv;
} EphyNodeView;
typedef struct
{
- GtkScrolledWindowClass parent;
+ GtkTreeViewClass parent;
void (*node_activated) (EphyNodeView *view, EphyNode *node);
void (*node_selected) (EphyNodeView *view, EphyNode *node);
@@ -57,7 +57,7 @@ typedef struct
GType ephy_node_view_get_type (void);
-EphyNodeView *ephy_node_view_new (EphyNode *root,
+GtkWidget *ephy_node_view_new (EphyNode *root,
EphyNodeFilter *filter);
void ephy_node_view_enable_dnd (EphyNodeView *view);
@@ -77,8 +77,6 @@ GList *ephy_node_view_get_selection (EphyNodeView *view);
void ephy_node_view_select_all (EphyNodeView *view);
-gboolean ephy_node_view_has_focus (EphyNodeView *view);
-
void ephy_node_view_set_browse_mode (EphyNodeView *view);
void ephy_node_view_select_node (EphyNodeView *view,
@@ -93,9 +91,6 @@ void ephy_node_view_enable_drag_dest (EphyNodeView *view,
GtkTargetEntry *types,
int n_types);
-void ephy_node_view_set_hinted (EphyNodeView *view,
- gboolean hinted);
-
void ephy_node_view_edit (EphyNodeView *view);
G_END_DECLS