aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-08-06 17:47:55 +0800
committerChristian Persch <chpe@src.gnome.org>2003-08-06 17:47:55 +0800
commit179e6f06b178cba0aac5d8260452a03deb09146c (patch)
treecb3e75e918338fbf93e065a1802c620ea96c85dd /src/ephy-shell.c
parent732bcf4bf907ae01ecb2c041d13d3ba0ec4b07bc (diff)
downloadgsoc2013-epiphany-179e6f06b178cba0aac5d8260452a03deb09146c.tar
gsoc2013-epiphany-179e6f06b178cba0aac5d8260452a03deb09146c.tar.gz
gsoc2013-epiphany-179e6f06b178cba0aac5d8260452a03deb09146c.tar.bz2
gsoc2013-epiphany-179e6f06b178cba0aac5d8260452a03deb09146c.tar.lz
gsoc2013-epiphany-179e6f06b178cba0aac5d8260452a03deb09146c.tar.xz
gsoc2013-epiphany-179e6f06b178cba0aac5d8260452a03deb09146c.tar.zst
gsoc2013-epiphany-179e6f06b178cba0aac5d8260452a03deb09146c.zip
Correct insertion order of new tabs.
2003-08-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-nodebook.c: (notebook_drag_data_received_cb): * src/ephy-shell.c: (ephy_shell_new_tab): Correct insertion order of new tabs.
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index b97756da9..f056d66d5 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -432,9 +432,10 @@ 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_CLONE_PAGE);
+ grouped = ((flags & EPHY_NEW_TAB_OPEN_PAGE ||
+ flags & EPHY_NEW_TAB_APPEND_GROUPED ||
+ flags & EPHY_NEW_TAB_CLONE_PAGE)) &&
+ !(flags & EPHY_NEW_TAB_APPEND_LAST);
if ((flags & EPHY_NEW_TAB_APPEND_AFTER) && previous_embed != NULL)
{