diff options
author | Diego Escalante Urrelo <diegoe@gnome.org> | 2007-07-26 04:46:37 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@src.gnome.org> | 2007-07-26 04:46:37 +0800 |
commit | 0217086af0c7ec95f972fe3a8a922cf245001fd0 (patch) | |
tree | 28dca67562cf0786f8a312ddf89d128f45a085f5 /src/ephy-notebook.c | |
parent | d9eabc283b3c3022e93923416eeb7b160029bb12 (diff) | |
download | gsoc2013-epiphany-0217086af0c7ec95f972fe3a8a922cf245001fd0.tar.gz gsoc2013-epiphany-0217086af0c7ec95f972fe3a8a922cf245001fd0.tar.zst gsoc2013-epiphany-0217086af0c7ec95f972fe3a8a922cf245001fd0.zip |
Checks that if we are dragging an element of type EPHY_DND_URI_LIST_TYPE
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.
svn path=/trunk/; revision=7196
Diffstat (limited to 'src/ephy-notebook.c')
-rw-r--r-- | src/ephy-notebook.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |