diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-04-15 22:10:57 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-04-15 22:10:57 +0800 |
commit | b97ce595da599035a5b3e38997eace8c2b416060 (patch) | |
tree | db1b3f8fb8f512509b1961385f4fb9335d12acbb /src/ephy-window.c | |
parent | c608bb09921d9f654c7dc6fd3a81a370b2c85111 (diff) | |
download | gsoc2013-epiphany-b97ce595da599035a5b3e38997eace8c2b416060.tar gsoc2013-epiphany-b97ce595da599035a5b3e38997eace8c2b416060.tar.gz gsoc2013-epiphany-b97ce595da599035a5b3e38997eace8c2b416060.tar.bz2 gsoc2013-epiphany-b97ce595da599035a5b3e38997eace8c2b416060.tar.lz gsoc2013-epiphany-b97ce595da599035a5b3e38997eace8c2b416060.tar.xz gsoc2013-epiphany-b97ce595da599035a5b3e38997eace8c2b416060.tar.zst gsoc2013-epiphany-b97ce595da599035a5b3e38997eace8c2b416060.zip |
Remove some api that was just silly wrappers. Return GtkTreeViewColumn on
2003-04-15 Marco Pesenti Gritti <marco@it.gnome.org>
* TODO:
* src/bookmarks/ephy-bookmarks-editor.c: (cmd_select_all),
(ephy_bookmarks_editor_construct):
* src/bookmarks/ephy-node-view.c: (ephy_node_view_add_column),
(ephy_node_view_remove):
* src/bookmarks/ephy-node-view.h:
Remove some api that was just silly wrappers.
Return GtkTreeViewColumn on add_column.
* src/ephy-nautilus-view.c: (gnv_embed_new_window_cb):
* src/ephy-shell.c: (ephy_shell_new_window_cb),
(ephy_shell_new_tab):
* src/ephy-tab.c: (ephy_tab_new_window_cb):
* src/ephy-window.c: (ephy_window_add_tab):
* src/ephy-window.h:
* src/session.c: (parse_embed):
Ever open tab as last on File->New tab and similars.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 07b456910..11a5e9b28 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -831,10 +831,12 @@ ephy_window_get_notebook (EphyWindow *window) void ephy_window_add_tab (EphyWindow *window, - EphyTab *tab, - gboolean jump_to) + EphyTab *tab, + gboolean grouped, + gboolean jump_to) { GtkWidget *widget; + int position; g_return_if_fail (IS_EPHY_WINDOW (window)); g_return_if_fail (IS_EPHY_TAB (tab)); @@ -843,10 +845,9 @@ ephy_window_add_tab (EphyWindow *window, widget = GTK_WIDGET(ephy_tab_get_embed (tab)); + position = grouped ? EPHY_NOTEBOOK_INSERT_GROUPED : EPHY_NOTEBOOK_INSERT_LAST; ephy_notebook_insert_page (EPHY_NOTEBOOK (window->priv->notebook), - widget, - EPHY_NOTEBOOK_INSERT_GROUPED, - jump_to); + widget, position, jump_to); } void |