From 433acf3896bfaf699788fda839017c325a3379f3 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 16 Jul 2005 15:01:32 +0000 Subject: Fix URL dragging to other tabs. 2005-07-16 Christian Persch * src/ephy-notebook.c: (notebook_drag_data_received_cb): Fix URL dragging to other tabs. --- ChangeLog | 6 ++++++ src/ephy-notebook.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 515899ad8..a83933bd8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-07-16 Christian Persch + + * src/ephy-notebook.c: (notebook_drag_data_received_cb): + + Fix URL dragging to other tabs. + 2005-07-13 Christian Persch * data/mime-types-permissions.xml: diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c index 82e13203d..6ca48217c 100644 --- a/src/ephy-notebook.c +++ b/src/ephy-notebook.c @@ -725,7 +725,7 @@ notebook_drag_data_received_cb (GtkWidget* widget, GdkDragContext *context, char **split; /* URL_TYPE has format: url \n title */ - split = g_strsplit ((const gchar *)selection_data->data, "\n", 1); + split = g_strsplit ((const gchar *)selection_data->data, "\n", 2); if (split != NULL && split[0] != NULL && split[0][0] != '\0') { ephy_link_open (EPHY_LINK (notebook), split[0], tab, -- cgit v1.2.3