aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorChristian Persch <chpe+gnomebugz@stud.uni-saarland.de>2003-05-06 19:59:09 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-05-06 19:59:09 +0800
commit6f4d431c2ea7384aec032c691cd0743755d364a7 (patch)
tree2272cf616ffd8777129bf8f0b6d573f609c87945 /src/ephy-window.c
parent468c744c0c5efde0aa7bbc179bd0bba784c908a5 (diff)
downloadgsoc2013-epiphany-6f4d431c2ea7384aec032c691cd0743755d364a7.tar
gsoc2013-epiphany-6f4d431c2ea7384aec032c691cd0743755d364a7.tar.gz
gsoc2013-epiphany-6f4d431c2ea7384aec032c691cd0743755d364a7.tar.bz2
gsoc2013-epiphany-6f4d431c2ea7384aec032c691cd0743755d364a7.tar.lz
gsoc2013-epiphany-6f4d431c2ea7384aec032c691cd0743755d364a7.tar.xz
gsoc2013-epiphany-6f4d431c2ea7384aec032c691cd0743755d364a7.tar.zst
gsoc2013-epiphany-6f4d431c2ea7384aec032c691cd0743755d364a7.zip
Implement the EPHY_NEW_TAB_APPEND_AFTER flag.
2003-05-05 Christian Persch <chpe+gnomebugz@stud.uni-saarland.de> * src/ephy-shell.c: * src/ephy-shell.h: (ephy_shell_new_tab): Implement the EPHY_NEW_TAB_APPEND_AFTER flag. * src/ephy-window.c: * src/ephy-window.h: (ephy_window_add_tab): Changed parameter (gboolean) groupde to (gint) position, to support specifying the position in the notebook to insert the new tab into. * src/ephy-shell.c: (ephy_shell_new_window_cb): * src/ephy-tab.c: (ephy_tab_new_window_cb): Fix callers of ephy_window_add_tab for new parameter. * src/ephy-notebook.c: (notebook_drag_data_received_cb), (ephy_notebook_init), (ephy_notebook_insert_page): Implement drag-and-drop of links to tabs.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index ad40a5fb3..51d26f38a 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -857,11 +857,10 @@ ephy_window_get_notebook (EphyWindow *window)
void
ephy_window_add_tab (EphyWindow *window,
EphyTab *tab,
- gboolean grouped,
+ gint position,
gboolean jump_to)
{
GtkWidget *widget;
- int position;
g_return_if_fail (IS_EPHY_WINDOW (window));
g_return_if_fail (IS_EPHY_TAB (tab));
@@ -870,7 +869,6 @@ 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, position, jump_to);
}