aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@gnome.org>2007-07-26 04:46:37 +0800
committerDiego Escalante Urrelo <diegoe@src.gnome.org>2007-07-26 04:46:37 +0800
commit0217086af0c7ec95f972fe3a8a922cf245001fd0 (patch)
tree28dca67562cf0786f8a312ddf89d128f45a085f5
parentd9eabc283b3c3022e93923416eeb7b160029bb12 (diff)
downloadgsoc2013-epiphany-0217086af0c7ec95f972fe3a8a922cf245001fd0.tar
gsoc2013-epiphany-0217086af0c7ec95f972fe3a8a922cf245001fd0.tar.gz
gsoc2013-epiphany-0217086af0c7ec95f972fe3a8a922cf245001fd0.tar.bz2
gsoc2013-epiphany-0217086af0c7ec95f972fe3a8a922cf245001fd0.tar.lz
gsoc2013-epiphany-0217086af0c7ec95f972fe3a8a922cf245001fd0.tar.xz
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
-rw-r--r--ChangeLog8
-rw-r--r--src/ephy-notebook.c4
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2d0476041..a460ba1cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);