diff options
Diffstat (limited to 'src/gtkext/gtkdockpanel.c')
-rw-r--r-- | src/gtkext/gtkdockpanel.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gtkext/gtkdockpanel.c b/src/gtkext/gtkdockpanel.c index 79a4a0e..4b9668b 100644 --- a/src/gtkext/gtkdockpanel.c +++ b/src/gtkext/gtkdockpanel.c @@ -28,7 +28,6 @@ #include <string.h> -#include "gtkdropwindow.h" #include "iodamarshal.h" @@ -244,9 +243,8 @@ static void gtk_dock_panel_init(GtkDockPanel *dpanel) - dpanel->dropwin = gtk_drop_window_new(); - +#if 0 /* Make the "well label" a DnD destination. */ gtk_drag_dest_set ( @@ -257,6 +255,7 @@ static void gtk_dock_panel_init(GtkDockPanel *dpanel) n_targets, /* size of list */ GDK_ACTION_COPY /* what to do with data after dropped */ ); +#endif } @@ -397,6 +396,7 @@ static gboolean gtk_dock_panel_drag_motion_cb(GtkDockPanel *dpanel, GdkDragConte gint new_y; /* OrdonnĂ©e de la fenĂȘtre */ GtkRequisition req; /* Taille actuelle du panneau */ +#if 0 if (!gtk_widget_get_visible(dpanel->dropwin)) { gdk_window_get_origin(GTK_WIDGET(dpanel)->window, &new_x, &new_y); @@ -409,7 +409,7 @@ static gboolean gtk_dock_panel_drag_motion_cb(GtkDockPanel *dpanel, GdkDragConte gtk_widget_show(dpanel->dropwin); } - +#endif return FALSE; } @@ -434,7 +434,7 @@ static gboolean gtk_dock_panel_drag_motion_cb(GtkDockPanel *dpanel, GdkDragConte static void gtk_dock_panel_drag_leave_cb(GtkDockPanel *dpanel, GdkDragContext *context, guint time, gpointer data) { - gtk_widget_hide(dpanel->dropwin); + //gtk_widget_hide(dpanel->dropwin); } |