[Goodies-commits] r7414 - in xfce4-notes-plugin/trunk: . panel-plugin

Mike Massonnet mmassonnet at xfce.org
Sun May 24 11:32:53 CEST 2009


Author: mmassonnet
Date: 2009-05-24 09:32:52 +0000 (Sun, 24 May 2009)
New Revision: 7414

Modified:
   xfce4-notes-plugin/trunk/ChangeLog
   xfce4-notes-plugin/trunk/panel-plugin/window.vala
Log:
Unshade the window before it is hidden

Modified: xfce4-notes-plugin/trunk/ChangeLog
===================================================================
--- xfce4-notes-plugin/trunk/ChangeLog	2009-05-24 08:15:05 UTC (rev 7413)
+++ xfce4-notes-plugin/trunk/ChangeLog	2009-05-24 09:32:52 UTC (rev 7414)
@@ -1,5 +1,11 @@
 2009-05-24  Mike Massonnet <mmassonnet at xfce.org>
 
+Unshade the window before it is hidden
+	* panel-plugin/window.vala:
+	  - On hide_cb unshade the window.
+
+2009-05-24  Mike Massonnet <mmassonnet at xfce.org>
+
 Create/delete/rename note groups
 	* panel-plugin/window.vala:
 	  - Set window_list unowned (spares the copy of the list).

Modified: xfce4-notes-plugin/trunk/panel-plugin/window.vala
===================================================================
--- xfce4-notes-plugin/trunk/panel-plugin/window.vala	2009-05-24 08:15:05 UTC (rev 7413)
+++ xfce4-notes-plugin/trunk/panel-plugin/window.vala	2009-05-24 09:32:52 UTC (rev 7414)
@@ -5,7 +5,6 @@
  *  TODO:
  *  - F2/Esc/etc accelerators
  *  - Extra window properties
- *  - Verify: unshade before hide
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -207,7 +206,7 @@
 			};
 			leave_notify_event += () => {
 				/* Hide the navigation when the mouse pointer is leaving the window */
-				navigation_timeout = Timeout.add_seconds (1, () => {
+				navigation_timeout = Timeout.add_seconds (2, () => {
 						navigation_box.hide ();
 						navigation_timeout = 0;
 						return false;
@@ -305,6 +304,7 @@
 			int winx, winy;
 			get_position (out winx, out winy);
 			hide ();
+			unshade ();
 			move (winx, winy);
 		}
 




More information about the Goodies-commits mailing list