[Deskbar] [PATCH] Close window when it loses focus
- From: Omair Majid <omajid redhat com>
- To: deskbar-applet-list gnome org
- Subject: [Deskbar] [PATCH] Close window when it loses focus
- Date: Sat, 21 Mar 2009 18:17:30 -0400
Hi,
The attached patch closes the deskbar window when it loses focus. That's
one item off the TODO list[1] :)
Cheers,
Omair
[1] http://live.gnome.org/DeskbarApplet/RoadMap
--- deskbar/ui/CuemiacAlignedView.py.orig 2009-03-21 18:04:25.000000000 -0400
+++ deskbar/ui/CuemiacAlignedView.py 2009-03-21 18:04:12.000000000 -0400
@@ -37,6 +37,7 @@
self.connect("delete-event", self._controller.on_quit)
self.connect("destroy-event", self._controller.on_quit)
+ self.connect("focus-out-event", self._controller.on_quit)
self.connect("key-press-event", self.__on_window_key_press_event)
self.set_title("Deskbar Applet")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]