diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/ephy-notebook.c | 6 | ||||
-rw-r--r-- | src/ephy-shell.c | 7 |
3 files changed, 16 insertions, 4 deletions
@@ -1,5 +1,12 @@ 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. + +2003-08-06 Christian Persch <chpe@cvs.gnome.org> + * src/ephy-shell.c: (load_homepage): * src/window-commands.c: (window_cmd_go_home): diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c index 53265ecb6..44284559d 100644 --- a/src/ephy-notebook.c +++ b/src/ephy-notebook.c @@ -1,5 +1,6 @@ /* * Copyright (C) 2002 Christophe Fergeau + * Copyright (C) 2003 Christian Persch * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -14,6 +15,8 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Id$ */ #ifdef HAVE_CONFIG_H @@ -673,7 +676,8 @@ notebook_drag_data_received_cb (GtkWidget* widget, GdkDragContext *context, tab, url, EPHY_NEW_TAB_OPEN_PAGE | EPHY_NEW_TAB_IN_EXISTING_WINDOW | - EPHY_NEW_TAB_APPEND_LAST); + (tab ? EPHY_NEW_TAB_APPEND_AFTER : + EPHY_NEW_TAB_APPEND_LAST)); } g_free (url); 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) { |