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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Apr 19 15:56:45 EEST 2007
Author: xan
Date: 2007-04-19 15:56:44 +0300 (Thu, 19 Apr 2007)
New Revision: 11156

Modified:
   projects/haf/trunk/gtk+/ChangeLog
   projects/haf/trunk/gtk+/gtk/gtkmain.c
Log:
	* gtk/gtkmain.c (gtk_main_do_event): send the insensitive-press
	signal to the event widget instead of the grab widget.


Modified: projects/haf/trunk/gtk+/ChangeLog
===================================================================
--- projects/haf/trunk/gtk+/ChangeLog	2007-04-19 12:38:28 UTC (rev 11155)
+++ projects/haf/trunk/gtk+/ChangeLog	2007-04-19 12:56:44 UTC (rev 11156)
@@ -1,3 +1,8 @@
+2007-04-19  Xan Lopez  <xan.lopez at nokia.com>
+
+	* gtk/gtkmain.c (gtk_main_do_event): send the insensitive-press
+	signal to the event widget instead of the grab widget.
+
 2007-04-13  Xan Lopez  <xan.lopez at nokia.com>
 
 	* gtk/gtkwidget.c: Add "maemo-position-theming" style property.

Modified: projects/haf/trunk/gtk+/gtk/gtkmain.c
===================================================================
--- projects/haf/trunk/gtk+/gtk/gtkmain.c	2007-04-19 12:38:28 UTC (rev 11155)
+++ projects/haf/trunk/gtk+/gtk/gtkmain.c	2007-04-19 12:56:44 UTC (rev 11156)
@@ -1403,7 +1403,7 @@
     case GDK_BUTTON_PRESS:
 #ifdef MAEMO_CHANGES
       if (!GTK_WIDGET_IS_SENSITIVE (event_widget))
-        gtk_widget_insensitive_press (grab_widget);
+        gtk_widget_insensitive_press (event_widget);
       /* fall through */
 #endif /* MAEMO_CHANGES */
     case GDK_2BUTTON_PRESS:


More information about the maemo-commits mailing list