[maemo-commits] [maemo-commits] r13721 - in projects/haf/trunk/hildon-desktop: . libhildondesktop

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Sep 10 19:53:10 EEST 2007
Author: moimart
Date: 2007-09-10 19:53:08 +0300 (Mon, 10 Sep 2007)
New Revision: 13721

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-popup-window.c
Log:
2007-09-10  Moises Martinez  <moises.martinez at nokia.com>

        * libhildondesktop/hildon-desktop-popup-window.c:
        (hildon_desktop_popup_window_leave_notify):
        - If receiving leave-notify when window is already close,
        gtk_grab_remove on the principal window.
        Fixes: NB#68827.
	* ChangeLog updated.



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-10 16:33:59 UTC (rev 13720)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-10 16:53:08 UTC (rev 13721)
@@ -1,3 +1,11 @@
+2007-09-10  Moises Martinez  <moises.martinez at nokia.com>
+
+	* libhildondesktop/hildon-desktop-popup-window.c:
+	(hildon_desktop_popup_window_leave_notify):
+	- If receiving leave-notify when window is already close,
+	gtk_grab_remove on the principal window.
+	Fixes: NB#68827.
+
 2007-09-10 Johan Bilien  <johan.bilien at nokia.com>
 
 	* libhildondesktop/hildon-home-area.c:

Modified: projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-popup-window.c
===================================================================
--- projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-popup-window.c	2007-09-10 16:33:59 UTC (rev 13720)
+++ projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-popup-window.c	2007-09-10 16:53:08 UTC (rev 13721)
@@ -513,6 +513,11 @@
     popup->priv->pane_with_grab = popup->priv->extra_panes[i];
     popup->priv->have_xgrab = FALSE;
   }
+  else
+  if (!GTK_WIDGET_VISIBLE (GTK_WIDGET (popup))) 
+  {
+    gtk_grab_remove (GTK_WIDGET (popup));
+  }	  
   
   return 
     GTK_WIDGET_CLASS (hildon_desktop_popup_window_parent_class)->leave_notify_event (widget, event);	


More information about the maemo-commits mailing list