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. --- src/ephy-notebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ephy-notebook.c') 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