[nanny: 10/11] Hide info label in desktop blocker re-show



commit 9c7fdcac18e38a0efe383089671445bdfba88f64
Author: Roberto Majadas <roberto majadas openshine com>
Date:   Tue May 11 19:42:13 2010 +0200

    Hide info label in desktop blocker re-show

 .../gnome/admin/data/ui/nanny_desktop_blocker.ui   |    2 +-
 client/gnome/admin/src/DesktopBlocker.py           |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/client/gnome/admin/data/ui/nanny_desktop_blocker.ui b/client/gnome/admin/data/ui/nanny_desktop_blocker.ui
index 295f222..4e2bf76 100644
--- a/client/gnome/admin/data/ui/nanny_desktop_blocker.ui
+++ b/client/gnome/admin/data/ui/nanny_desktop_blocker.ui
@@ -41,7 +41,7 @@
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkLabel" id="info_label">
+                      <object class="GtkLabel" id="db_info_label">
                         <property name="visible">True</property>
                         <property name="label" translatable="yes">&lt;span foreground="white"&gt;&lt;big&gt;You've time available if you need to close documents or aplications.&lt;/big&gt;&lt;/span&gt;</property>
                         <property name="use_markup">True</property>
diff --git a/client/gnome/admin/src/DesktopBlocker.py b/client/gnome/admin/src/DesktopBlocker.py
index c2d897b..1e8936b 100644
--- a/client/gnome/admin/src/DesktopBlocker.py
+++ b/client/gnome/admin/src/DesktopBlocker.py
@@ -106,6 +106,7 @@ class DesktopBlocker(gtk.Window):
     def __timeout_cb(self):
         self.show()
         self.time_button.hide()
+        self.info_label.hide()
         gtk.gdk.keyboard_grab(self.window)
         return False
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]