[Goodies-commits] r7468 - in xfce4-notes-plugin/trunk: . panel-plugin
Mike Massonnet
mmassonnet at xfce.org
Sat Jun 6 13:20:17 CEST 2009
Author: mmassonnet
Date: 2009-06-06 11:20:17 +0000 (Sat, 06 Jun 2009)
New Revision: 7468
Modified:
xfce4-notes-plugin/trunk/ChangeLog
xfce4-notes-plugin/trunk/panel-plugin/window.vala
Log:
"Grey" the title bar on focus out
Modified: xfce4-notes-plugin/trunk/ChangeLog
===================================================================
--- xfce4-notes-plugin/trunk/ChangeLog 2009-06-06 11:08:27 UTC (rev 7467)
+++ xfce4-notes-plugin/trunk/ChangeLog 2009-06-06 11:20:17 UTC (rev 7468)
@@ -1,5 +1,12 @@
2009-06-06 Mike Massonnet <mmassonnet at xfce.org>
+"Grey" the title bar on focus out
+ * panel-plugin/window.vala:
+ - On focus-out-event/focus-in-event set the title_label sensitivity
+ to false/true.
+
+2009-06-06 Mike Massonnet <mmassonnet at xfce.org>
+
Window name sort function
* panel-plugin/window.vala:
- Add a CompareFunc on the window name.
Modified: xfce4-notes-plugin/trunk/panel-plugin/window.vala
===================================================================
--- xfce4-notes-plugin/trunk/panel-plugin/window.vala 2009-06-06 11:08:27 UTC (rev 7467)
+++ xfce4-notes-plugin/trunk/panel-plugin/window.vala 2009-06-06 11:20:17 UTC (rev 7468)
@@ -259,6 +259,14 @@
hide_cb ();
return true;
};
+ focus_in_event += () => {
+ title_label.sensitive = true;
+ return false;
+ };
+ focus_out_event += () => {
+ title_label.sensitive = false;
+ return false;
+ };
leave_notify_event += navigation_leaved_cb;
motion_notify_event += navigation_motion_cb;
leave_notify_event += window_leaved_cb;
More information about the Goodies-commits
mailing list