From 179e6f06b178cba0aac5d8260452a03deb09146c Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 6 Aug 2003 09:47:55 +0000 Subject: Correct insertion order of new tabs. 2003-08-06 Christian Persch * src/ephy-nodebook.c: (notebook_drag_data_received_cb): * src/ephy-shell.c: (ephy_shell_new_tab): Correct insertion order of new tabs. --- src/ephy-notebook.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/ephy-notebook.c') 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); -- cgit v1.2.3