diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/gtk+/gtk+-2.6.4-1.osso7/gtkmain.c.diff | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/gtk+/gtk+-2.6.4-1.osso7/gtkmain.c.diff')
-rw-r--r-- | packages/gtk+/gtk+-2.6.4-1.osso7/gtkmain.c.diff | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/packages/gtk+/gtk+-2.6.4-1.osso7/gtkmain.c.diff b/packages/gtk+/gtk+-2.6.4-1.osso7/gtkmain.c.diff index e69de29bb2..2132487bdf 100644 --- a/packages/gtk+/gtk+-2.6.4-1.osso7/gtkmain.c.diff +++ b/packages/gtk+/gtk+-2.6.4-1.osso7/gtkmain.c.diff @@ -0,0 +1,35 @@ +--- gtk+-2.6.4/gtk/gtkmain.c 2004-12-27 07:25:15.000000000 +0200 ++++ gtk+-2.6.4/gtk/gtkmain.c 2005-04-06 16:19:36.897929024 +0300 +@@ -68,6 +68,7 @@ + #include "gtkwindow.h" + #include "gtkprivate.h" + #include "gtkdebug.h" ++#include "gtkwidget.h" + + /* Private type definitions + */ +@@ -1297,6 +1298,15 @@ + { + grab_widget = event_widget; + } ++ ++ /* Hildon: insensitive press handling is moved here */ ++ if (event->type == GDK_BUTTON_PRESS) ++ { ++ if (!GTK_WIDGET_IS_SENSITIVE (event_widget)) ++ { ++ gtk_widget_insensitive_press(event_widget); ++ } ++ } + + /* Not all events get sent to the grabbing widget. + * The delete, destroy, expose, focus change and resize +@@ -2090,7 +2100,7 @@ + handled_event = FALSE; + + g_object_ref (widget); +- ++ + if ((event->type == GDK_KEY_PRESS) || + (event->type == GDK_KEY_RELEASE)) + { |