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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Sep 7 11:19:57 EEST 2009
Author: kris
Date: 2009-09-07 11:19:49 +0300 (Mon, 07 Sep 2009)
New Revision: 19298

Modified:
   projects/haf/trunk/gtk+/ChangeLog
   projects/haf/trunk/gtk+/gtk/gtkwidget.c
Log:
2009-09-07  Kristian Rietveld  <kris at lanedo.com>

	Fixes: NB#125746 - File manager gets unresponsive after loong tapping
	on media server folder

	* gtk/gtkwidget.c (gtk_widget_tap_and_hold_timeout): do not call
	_gtk_widget_grab_notify().  The code handling the tap-and-hold signal
	is responsible for grabbing if necessary.  When a menu is used here,
	the menu obviously already takes care of the grabbing.



Modified: projects/haf/trunk/gtk+/ChangeLog
===================================================================
--- projects/haf/trunk/gtk+/ChangeLog	2009-09-07 07:34:38 UTC (rev 19297)
+++ projects/haf/trunk/gtk+/ChangeLog	2009-09-07 08:19:49 UTC (rev 19298)
@@ -1,3 +1,13 @@
+2009-09-07  Kristian Rietveld  <kris at lanedo.com>
+
+	Fixes: NB#125746 - File manager gets unresponsive after loong tapping
+	on media server folder
+
+	* gtk/gtkwidget.c (gtk_widget_tap_and_hold_timeout): do not call
+	_gtk_widget_grab_notify().  The code handling the tap-and-hold signal
+	is responsible for grabbing if necessary.  When a menu is used here,
+	the menu obviously already takes care of the grabbing.
+
 2009-09-07  Claudio Saavedra  <csaavedra at igalia.com>
 
 	* debian/changelog: Release 2:2.14.7-1maemo10

Modified: projects/haf/trunk/gtk+/gtk/gtkwidget.c
===================================================================
--- projects/haf/trunk/gtk+/gtk/gtkwidget.c	2009-09-07 07:34:38 UTC (rev 19297)
+++ projects/haf/trunk/gtk+/gtk/gtkwidget.c	2009-09-07 08:19:49 UTC (rev 19298)
@@ -10912,7 +10912,6 @@
   if (!td->timer_id)
     {
       tap_and_hold_remove_timer (widget);
-      _gtk_widget_grab_notify (widget, FALSE);
 
       _gtk_menu_push_context_menu_behavior ();
 

More information about the maemo-commits mailing list