[sabayon] Log the presence and visibility of the input_only window for the child session
- From: Federico Mena Quintero <federico src gnome org>
- To: svn-commits-list gnome org
- Subject: [sabayon] Log the presence and visibility of the input_only window for the child session
- Date: Wed, 29 Jul 2009 01:01:40 +0000 (UTC)
commit 9f29f67122b55ff48a716019715f895b95facb3b
Author: Federico Mena Quintero <federico novell com>
Date: Tue Apr 28 19:28:40 2009 -0500
Log the presence and visibility of the input_only window for the child session
Signed-off-by: Federico Mena Quintero <federico novell com>
admin-tool/sessionwidget.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/admin-tool/sessionwidget.py b/admin-tool/sessionwidget.py
index 8b1f03f..55f95a5 100755
--- a/admin-tool/sessionwidget.py
+++ b/admin-tool/sessionwidget.py
@@ -108,6 +108,7 @@ class SessionWidget (gtk.Widget):
colormap = self.get_colormap (),
event_mask = event_mask)
self.input_window.set_user_data (self)
+ dprint ("Created input_only window for child session")
def do_unrealize (self):
# FIXME:
@@ -115,6 +116,7 @@ class SessionWidget (gtk.Widget):
# See bug #308384
self.input_window.set_user_data (None)
self.input_window.destroy ()
+ dprint ("Destroyed input_only window for child session")
self.session_window.set_user_data (None)
self.session_window.destroy ()
@@ -125,11 +127,13 @@ class SessionWidget (gtk.Widget):
gtk.Widget.do_map (self)
self.session_window.show ()
self.input_window.show ()
+ dprint ("Showed input_only window for child session")
def do_unmap (self):
self.input_window.hide ()
self.session_window.hide ()
gtk.Widget.do_unmap (self)
+ dprint ("Hid input_only window for child session")
def do_expose_event (self, event):
if self.flags() & gtk.HAS_FOCUS:
@@ -155,8 +159,10 @@ class SessionWidget (gtk.Widget):
if self.flags() & gtk.HAS_FOCUS:
self.input_window.hide ()
+ dprint ("Focus in: hiding input_only window for child session")
else:
self.input_window.show ()
+ dprint ("Focus out: showing input_only window for child session")
def do_focus_in_event (self, event):
self.__update_input_only_window ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]