[maemo-commits] [maemo-commits] r18754 - in projects/haf/trunk/gtk+: . gtk

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Jun 18 13:05:07 EEST 2009
Author: kalikiana
Date: 2009-06-18 13:04:53 +0300 (Thu, 18 Jun 2009)
New Revision: 18754

Modified:
   projects/haf/trunk/gtk+/ChangeLog
   projects/haf/trunk/gtk+/gtk/gtkdnd.c
Log:
Globally disable DND in Gtk.



Modified: projects/haf/trunk/gtk+/ChangeLog
===================================================================
--- projects/haf/trunk/gtk+/ChangeLog	2009-06-18 08:38:46 UTC (rev 18753)
+++ projects/haf/trunk/gtk+/ChangeLog	2009-06-18 10:04:53 UTC (rev 18754)
@@ -1,3 +1,8 @@
+2009-06-18  Christian Dywan  <christian at lanedo.com>
+
+	* gtk/gtkdnd.c (gtk_drag_begin_internal): Globally disable DND in Gtk.
+	Fixes: NB#117759 [freetest] Black box is shown over URL field after gesture
+
 2009-06-17  Christian Dywan  <christian at lanedo.com>
 
 	* gtk/gtkentry.c (hildon_gtk_input_mode_is_valid_char): Add 'a' to the

Modified: projects/haf/trunk/gtk+/gtk/gtkdnd.c
===================================================================
--- projects/haf/trunk/gtk+/gtk/gtkdnd.c	2009-06-18 08:38:46 UTC (rev 18753)
+++ projects/haf/trunk/gtk+/gtk/gtkdnd.c	2009-06-18 10:04:53 UTC (rev 18754)
@@ -2202,7 +2202,12 @@
   GdkDragContext *context;
   GtkWidget *ipc_widget;
   GdkCursor *cursor;
- 
+
+#ifdef MAEMO_CHANGES
+  /* Reject any DND requests unconditionally. */
+  return NULL;
+#endif
+
   ipc_widget = gtk_drag_get_ipc_widget (widget);
   
   gtk_drag_get_event_actions (event, button, actions,

More information about the maemo-commits mailing list