[25862] in Source-Commits

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

/svn/athena r25270 - trunk/debathena/config/gdm-config/debian

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Wed Jul 20 18:01:36 2011

Date: Wed, 20 Jul 2011 18:01:30 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201107202201.p6KM1Urw014831@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: jdreed
Date: 2011-07-20 18:01:30 -0400 (Wed, 20 Jul 2011)
New Revision: 25270

Modified:
   trunk/debathena/config/gdm-config/debian/changelog
   trunk/debathena/config/gdm-config/debian/debathena-nologin-monitor
Log:
In gdm-config:
  * Display the nologin-monitor window if the file exists when we start up


Modified: trunk/debathena/config/gdm-config/debian/changelog
===================================================================
--- trunk/debathena/config/gdm-config/debian/changelog	2011-07-20 21:59:40 UTC (rev 25269)
+++ trunk/debathena/config/gdm-config/debian/changelog	2011-07-20 22:01:30 UTC (rev 25270)
@@ -1,3 +1,9 @@
+debathena-gdm-config (1.30) unstable; urgency=low
+
+  * Display the nologin-monitor window if the file exists when we start up
+
+ -- Jonathan Reed <jdreed@mit.edu>  Wed, 20 Jul 2011 18:01:14 -0400
+
 debathena-gdm-config (1.29) unstable; urgency=low
 
   * Applets really shouldn't attempt to steal focus (Trac: #812)

Modified: trunk/debathena/config/gdm-config/debian/debathena-nologin-monitor
===================================================================
--- trunk/debathena/config/gdm-config/debian/debathena-nologin-monitor	2011-07-20 21:59:40 UTC (rev 25269)
+++ trunk/debathena/config/gdm-config/debian/debathena-nologin-monitor	2011-07-20 22:01:30 UTC (rev 25270)
@@ -50,6 +50,8 @@
         except OSError:
             # Assume cluster
             metapackage = 'debathena-cluster'
+        if os.path.isfile("/var/run/athena-nologin"):
+            self.window.show_all()
         if self.debug or metapackage == 'debathena-cluster':
             self.gfile = gio.File("/var/run/athena-nologin")
             self.monitor = self.gfile.monitor_file(gio.FILE_MONITOR_NONE, None)


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