[26017] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r25348 - in trunk/debathena/debathena/kiosk: . debian

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Tue Aug 2 18:21:06 2011

Date: Tue, 2 Aug 2011 18:20:58 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201108022220.p72MKwF9031352@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: jdreed
Date: 2011-08-02 18:20:58 -0400 (Tue, 02 Aug 2011)
New Revision: 25348

Modified:
   trunk/debathena/debathena/kiosk/debian/changelog
   trunk/debathena/debathena/kiosk/gdm-launch-kiosk
Log:
In kiosk:
  * Call .run() on the dialog so that people can press Esc (Trac: #1007)
  * Make the button window non-resizable because the resize anchor is
    giant and ugly these days


Modified: trunk/debathena/debathena/kiosk/debian/changelog
===================================================================
--- trunk/debathena/debathena/kiosk/debian/changelog	2011-08-02 21:22:39 UTC (rev 25347)
+++ trunk/debathena/debathena/kiosk/debian/changelog	2011-08-02 22:20:58 UTC (rev 25348)
@@ -1,3 +1,11 @@
+debathena-kiosk (1.4.2) unstable; urgency=low
+
+  * Call .run() on the dialog so that people can press Esc (Trac: #1007)
+  * Make the button window non-resizable because the resize anchor is
+    giant and ugly these days
+
+ -- Jonathan Reed <jdreed@mit.edu>  Tue, 02 Aug 2011 18:20:51 -0400
+
 debathena-kiosk (1.4.1) unstable; urgency=low
 
   * Offer the user a chance to run the standalone reg applet, 

Modified: trunk/debathena/debathena/kiosk/gdm-launch-kiosk
===================================================================
--- trunk/debathena/debathena/kiosk/gdm-launch-kiosk	2011-08-02 21:22:39 UTC (rev 25347)
+++ trunk/debathena/debathena/kiosk/gdm-launch-kiosk	2011-08-02 22:20:58 UTC (rev 25348)
@@ -40,6 +40,8 @@
         self.xml.signal_autoconnect(self)
         # Turn off all window decorations for the login screen.
         self.kioskWindow.set_decorated(False)
+        # Because the resize anchor in Natty is obscenely large
+        self.kioskWindow.set_property('resizable', False)
         self.kioskDialog.set_decorated(False)
         # Position the window near the bottom of the screen, in the center.
         self.kioskWindow.set_gravity(gtk.gdk.GRAVITY_SOUTH)
@@ -50,7 +52,7 @@
 
     def kioskButton_on_click(self, button):
         if not self.sessionEnding:
-            self.kioskDialog.show()
+            self.kioskDialog.run()
 
     def kioskDialogResponseHandler(self, dialog, response_id):
         if response_id == 1 and not self.sessionEnding:


home help back first fref pref prev next nref lref last post