diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/ephy-notebook.c | 4 |
2 files changed, 10 insertions, 2 deletions
@@ -1,5 +1,13 @@ 2007-07-25 Diego Escalante Urrelo <diegoe@gnome.org> + * src/ephy-notebook.c: + + Checks that if we are dragging an element of type + EPHY_DND_URI_LIST_TYPE we don't reuse an already existing tab to open + the first element of the list. Fixes bug #313636. + +2007-07-25 Diego Escalante Urrelo <diegoe@gnome.org> + * src/prefs-dialog.c: * data/glade/prefs-dialog.glade: diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c index 90a6dd8fe..9b6e04359 100644 --- a/src/ephy-notebook.c +++ b/src/ephy-notebook.c @@ -431,8 +431,8 @@ notebook_drag_data_received_cb (GtkWidget* widget, GdkDragContext *context, for (i = 0; uris[i] != NULL && i < INSANE_NUMBER_OF_URLS; i++) { - tab = ephy_link_open (EPHY_LINK (notebook), uris[i], - tab, i == 0 ? 0 : EPHY_LINK_NEW_TAB); + tab = ephy_link_open (EPHY_LINK (notebook), uris[i], tab, + (tab && i == 0) ? 0 : EPHY_LINK_NEW_TAB); } g_strfreev (uris); |