aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-06-20 01:21:19 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-06-20 01:21:19 +0800
commit1f1f4b78c63f4e5421c223d93c3b23d52dc72c30 (patch)
tree27107202bf73b5fcdc14bf5aabcae39338a95571 /src/ephy-shell.c
parentdef0bcab86eb6dc80ee74fc95b3424ad2cbe14cc (diff)
downloadgsoc2013-epiphany-1f1f4b78c63f4e5421c223d93c3b23d52dc72c30.tar
gsoc2013-epiphany-1f1f4b78c63f4e5421c223d93c3b23d52dc72c30.tar.gz
gsoc2013-epiphany-1f1f4b78c63f4e5421c223d93c3b23d52dc72c30.tar.bz2
gsoc2013-epiphany-1f1f4b78c63f4e5421c223d93c3b23d52dc72c30.tar.lz
gsoc2013-epiphany-1f1f4b78c63f4e5421c223d93c3b23d52dc72c30.tar.xz
gsoc2013-epiphany-1f1f4b78c63f4e5421c223d93c3b23d52dc72c30.tar.zst
gsoc2013-epiphany-1f1f4b78c63f4e5421c223d93c3b23d52dc72c30.zip
Append tabs at the end instead of grouping them near the current one.
2004-06-19 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-notebook.c: (ephy_notebook_move_tab), (move_tab), (ephy_notebook_switch_page_cb), (ephy_notebook_init), (ephy_notebook_finalize), (ephy_notebook_add_tab), (ephy_notebook_remove_tab): * src/ephy-notebook.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_new_window_cb): * src/ephy-window.c: (ephy_window_add_tab): Append tabs at the end instead of grouping them near the current one.
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index d61f6075a..ff2a36917 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -546,7 +546,6 @@ ephy_shell_new_tab (EphyShell *shell,
EphyTab *tab;
EphyEmbed *embed;
gboolean in_new_window = TRUE;
- gboolean grouped;
gboolean jump_to;
EphyEmbed *previous_embed = NULL;
GtkWidget *nb;
@@ -574,10 +573,6 @@ ephy_shell_new_tab (EphyShell *shell,
previous_embed = ephy_tab_get_embed (previous_tab);
}
- grouped = ((flags & EPHY_NEW_TAB_OPEN_PAGE ||
- flags & EPHY_NEW_TAB_APPEND_GROUPED)) &&
- !(flags & EPHY_NEW_TAB_APPEND_LAST);
-
if ((flags & EPHY_NEW_TAB_APPEND_AFTER) && previous_embed != NULL)
{
nb = ephy_window_get_notebook (window);
@@ -586,7 +581,7 @@ ephy_shell_new_tab (EphyShell *shell,
}
else
{
- position = grouped ? EPHY_NOTEBOOK_INSERT_GROUPED : EPHY_NOTEBOOK_INSERT_LAST;
+ position = EPHY_NOTEBOOK_ADD_LAST;
}
tab = ephy_tab_new ();