diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-04-18 18:19:22 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-04-18 18:19:22 +0800 |
commit | 26d1ed1f62e1c3229729bb79673f1b424a4dd8d9 (patch) | |
tree | 9ba8e9dec6fa731d89980ae62ce615e1630cab6e /lib/widgets/ephy-node-view.h | |
parent | 6e4b4bb1ec37e4afb9a8b52bb81d4d82ce20b136 (diff) | |
download | gsoc2013-epiphany-26d1ed1f62e1c3229729bb79673f1b424a4dd8d9.tar gsoc2013-epiphany-26d1ed1f62e1c3229729bb79673f1b424a4dd8d9.tar.gz gsoc2013-epiphany-26d1ed1f62e1c3229729bb79673f1b424a4dd8d9.tar.bz2 gsoc2013-epiphany-26d1ed1f62e1c3229729bb79673f1b424a4dd8d9.tar.lz gsoc2013-epiphany-26d1ed1f62e1c3229729bb79673f1b424a4dd8d9.tar.xz gsoc2013-epiphany-26d1ed1f62e1c3229729bb79673f1b424a4dd8d9.tar.zst gsoc2013-epiphany-26d1ed1f62e1c3229729bb79673f1b424a4dd8d9.zip |
Do not install two copies of epiphany.png
2003-04-18 Marco Pesenti Gritti <marco@it.gnome.org>
* data/art/Makefile.am:
Do not install two copies of epiphany.png
* embed/ephy-history.c: (ephy_history_save),
(ephy_history_set_page_title):
Use host name as title for sites, not the real
title.
* lib/ephy-state.c: (ephy_state_add_window),
(paned_size_allocate_cb), (ephy_state_add_paned):
* lib/ephy-state.h:
Add a way to persist paned.
* lib/widgets/ephy-node-view.h:
* lib/widgets/ephy-node-view.c: (ephy_node_view_sort_func),
(provide_text_weight), (ephy_node_view_add_column),
(ephy_node_view_has_selection):
Improve add_column api a bit to support both auto sorting
and user sorting.
* src/bookmarks/ephy-bookmarks-editor.c:
(ephy_bookmarks_editor_construct):
Updates for changed api.
* src/ephy-history-window.c: (ephy_history_window_construct):
Set a max size for title/location. Not very good, but the
best we can do with current treeview api prolly.
Persist the paned size.
Make columns user sortable.
Diffstat (limited to 'lib/widgets/ephy-node-view.h')
-rw-r--r-- | lib/widgets/ephy-node-view.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/widgets/ephy-node-view.h b/lib/widgets/ephy-node-view.h index 148b376b1..47a71d463 100644 --- a/lib/widgets/ephy-node-view.h +++ b/lib/widgets/ephy-node-view.h @@ -52,6 +52,13 @@ typedef enum EPHY_NODE_VIEW_NORMAL_PRIORITY } EphyNodeViewPriority; +typedef enum +{ + EPHY_NODE_VIEW_AUTO_SORT = 1, + EPHY_NODE_VIEW_USER_SORT = 2, + EPHY_NODE_VIEW_EDITABLE = 4 +} EphyNodeViewFlags; + typedef struct { GtkTreeViewClass parent; @@ -74,8 +81,7 @@ GtkTreeViewColumn *ephy_node_view_add_column (EphyNodeView *view, GType value_type, int prop_id, int priority_prop_id, - gboolean editable, - gboolean sortable); + EphyNodeViewFlags flags); void ephy_node_view_add_icon_column (EphyNodeView *view, EphyTreeModelNodeValueFunc func); @@ -106,11 +112,6 @@ gboolean ephy_node_view_is_editing (EphyNodeView *view, gboolean ephy_node_view_is_target (EphyNodeView *view); -void ephy_node_view_enable_sort (EphyNodeView *view, - GtkTreeIterCompareFunc sort_func, - gpointer data, - GtkDestroyNotify destroy); - G_END_DECLS #endif /* EPHY_NODE_VIEW_H */ |