aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-history-window.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-04-29 16:50:19 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-04-29 16:50:19 +0800
commit56b18a72cbde121e7999846d99bb3e8eb91d4068 (patch)
treeee9ad4aa70d426a2d2c9060c2bc189a43e416698 /src/ephy-history-window.c
parentfefbbb55910beadb0e568e917d3736cd5c62d31a (diff)
downloadgsoc2013-epiphany-56b18a72cbde121e7999846d99bb3e8eb91d4068.tar
gsoc2013-epiphany-56b18a72cbde121e7999846d99bb3e8eb91d4068.tar.gz
gsoc2013-epiphany-56b18a72cbde121e7999846d99bb3e8eb91d4068.tar.bz2
gsoc2013-epiphany-56b18a72cbde121e7999846d99bb3e8eb91d4068.tar.lz
gsoc2013-epiphany-56b18a72cbde121e7999846d99bb3e8eb91d4068.tar.xz
gsoc2013-epiphany-56b18a72cbde121e7999846d99bb3e8eb91d4068.tar.zst
gsoc2013-epiphany-56b18a72cbde121e7999846d99bb3e8eb91d4068.zip
Remove add_icon_column func and add the functionality to the normal
2003-04-29 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_add_column): * lib/widgets/ephy-node-view.h: Remove add_icon_column func and add the functionality to the normal add_column. The icon will be packed in the same column. * src/bookmarks/ephy-bookmarks-editor.c: (entry_selection_changed_cb), (add_entry_monitor), (add_text_renderer_monitor), (cmd_add_topic), (cmd_rename), (build_search_box), (ephy_bookmarks_editor_construct), (toolbar_items_changed_cb), (ephy_bookmarks_editor_init): Fix for api change. Deal with 2 more sensitivity cases: bookmarks added by dnd to the toolbar and treeview text renderers. Remove hints until we have more columns. * src/ephy-history-window.c: (ephy_history_window_construct): Fix for new api * src/ephy-toolbars-model.c: (impl_add_item): Dont check if normal items are already in the toolbar: fix warnings.
Diffstat (limited to 'src/ephy-history-window.c')
-rw-r--r--src/ephy-history-window.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index cb6fc9a27..3f4fd8540 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -872,12 +872,12 @@ ephy_history_window_construct (EphyHistoryWindow *editor)
EPHY_NODE_PAGE_PROP_LOCATION);
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (sites_view));
gtk_tree_selection_set_mode (selection, GTK_SELECTION_BROWSE);
- ephy_node_view_add_icon_column (EPHY_NODE_VIEW (sites_view), provide_favicon);
ephy_node_view_add_column (EPHY_NODE_VIEW (sites_view), _("Sites"),
G_TYPE_STRING,
EPHY_NODE_PAGE_PROP_TITLE,
EPHY_NODE_PAGE_PROP_PRIORITY,
- EPHY_NODE_VIEW_AUTO_SORT);
+ EPHY_NODE_VIEW_AUTO_SORT,
+ provide_favicon);
gtk_container_add (GTK_CONTAINER (scrolled_window), sites_view);
gtk_widget_show (sites_view);
editor->priv->sites_view = sites_view;
@@ -915,15 +915,12 @@ ephy_history_window_construct (EphyHistoryWindow *editor)
EPHY_NODE_PAGE_PROP_LOCATION);
col = ephy_node_view_add_column (EPHY_NODE_VIEW (pages_view), _("Title"),
G_TYPE_STRING, EPHY_NODE_PAGE_PROP_TITLE,
- -1, EPHY_NODE_VIEW_USER_SORT);
+ -1, EPHY_NODE_VIEW_USER_SORT, NULL);
gtk_tree_view_column_set_max_width (col, 250);
col = ephy_node_view_add_column (EPHY_NODE_VIEW (pages_view), _("Location"),
G_TYPE_STRING, EPHY_NODE_PAGE_PROP_LOCATION,
- -1, EPHY_NODE_VIEW_USER_SORT);
+ -1, EPHY_NODE_VIEW_USER_SORT, NULL);
gtk_tree_view_column_set_max_width (col, 200);
-/* col = ephy_node_view_add_column (EPHY_NODE_VIEW (pages_view), _("Last Visit"),
- G_TYPE_STRING, EPHY_NODE_PAGE_PROP_LAST_VISIT,
- -1, EPHY_NODE_VIEW_USER_SORT);*/
gtk_container_add (GTK_CONTAINER (scrolled_window), pages_view);
gtk_widget_show (pages_view);
editor->priv->pages_view = pages_view;