diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-05-23 03:19:43 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-05-23 03:19:43 +0800 |
commit | c4db125c559054c7d5bb5ffd302b303470ab03ba (patch) | |
tree | ea08bc6cab003f777c5d64bf76f397b35c321f29 | |
parent | 12b4f94e6939dd7f69c67c19f3ca4068e506094e (diff) | |
download | gsoc2013-epiphany-c4db125c559054c7d5bb5ffd302b303470ab03ba.tar gsoc2013-epiphany-c4db125c559054c7d5bb5ffd302b303470ab03ba.tar.gz gsoc2013-epiphany-c4db125c559054c7d5bb5ffd302b303470ab03ba.tar.bz2 gsoc2013-epiphany-c4db125c559054c7d5bb5ffd302b303470ab03ba.tar.lz gsoc2013-epiphany-c4db125c559054c7d5bb5ffd302b303470ab03ba.tar.xz gsoc2013-epiphany-c4db125c559054c7d5bb5ffd302b303470ab03ba.tar.zst gsoc2013-epiphany-c4db125c559054c7d5bb5ffd302b303470ab03ba.zip |
Revert embed dnd changes. They doesnt work properly.
2003-05-22 Marco Pesenti Gritti <marco@it.gnome.org>
* src/ephy-notebook.c: (ephy_notebook_insert_page):
Revert embed dnd changes. They doesnt work properly.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/ephy-notebook.c | 14 |
2 files changed, 6 insertions, 14 deletions
@@ -1,3 +1,9 @@ +2003-05-22 Marco Pesenti Gritti <marco@it.gnome.org> + + * src/ephy-notebook.c: (ephy_notebook_insert_page): + + Revert embed dnd changes. They doesnt work properly. + 2003-05-22 David Bordoley <bordoley@msu.edu> * embed/mozilla/mozilla-embed-single.cpp: diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c index 71a2a2039..2e8766683 100644 --- a/src/ephy-notebook.c +++ b/src/ephy-notebook.c @@ -926,16 +926,6 @@ update_tabs_visibility (EphyNotebook *nb, gboolean before_inserting) gtk_notebook_set_show_tabs (GTK_NOTEBOOK (nb), show_tabs); } -static void -child_realize_cb (GtkWidget *child, EphyNotebook *nb) -{ - g_signal_connect (GTK_BIN (child)->child, "drag_data_received", - G_CALLBACK(notebook_drag_data_received_cb), child); - gtk_drag_dest_set (GTK_BIN (child)->child, GTK_DEST_DEFAULT_ALL, - url_drag_types,n_url_drag_types, - GDK_ACTION_MOVE | GDK_ACTION_COPY); -} - void ephy_notebook_insert_page (EphyNotebook *nb, GtkWidget *child, @@ -981,10 +971,6 @@ ephy_notebook_insert_page (EphyNotebook *nb, url_drag_types,n_url_drag_types, GDK_ACTION_MOVE | GDK_ACTION_COPY); - /* embed->child is setup on widget realize */ - g_signal_connect_object (child, "realize", - G_CALLBACK (child_realize_cb), nb, 0); - if (jump_to) { gtk_notebook_set_current_page (GTK_NOTEBOOK (nb), |