[26661] in Source-Commits

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

Re: /svn/athena r25679 -

daemon@ATHENA.MIT.EDU (Benjamin Kaduk)
Wed Aug 1 15:00:56 2012

Date: Wed, 1 Aug 2012 15:00:52 -0400 (EDT)
From: Benjamin Kaduk <kaduk@MIT.EDU>
To: Jonathan D Reed <jdreed@MIT.EDU>
cc: source-commits@MIT.EDU
In-Reply-To: <201208011441.q71Ef5js005450@drugstore.mit.edu>
Message-ID: <alpine.GSO.1.10.1208011500470.22690@multics.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

Per zephyr, ACK.
-Ben

On Wed, 1 Aug 2012, Jonathan D Reed wrote:

> Author: jdreed
> Date: 2012-08-01 10:41:05 -0400 (Wed, 01 Aug 2012)
> New Revision: 25679
>
> Modified:
>   trunk/debathena/config/lightdm-config/debian/changelog
>   trunk/debathena/config/lightdm-config/debian/debathena-lightdm-greeter
> Log:
> In lightdm-config:
>  * If the nologin file exists when the greeter is spawned, then prevent
>    logins
>
>
> Modified: trunk/debathena/config/lightdm-config/debian/changelog
> ===================================================================
> --- trunk/debathena/config/lightdm-config/debian/changelog	2012-08-01 14:12:41 UTC (rev 25678)
> +++ trunk/debathena/config/lightdm-config/debian/changelog	2012-08-01 14:41:05 UTC (rev 25679)
> @@ -13,8 +13,10 @@
>   * Deal more gracefully with a missing background image
>   * Move greeter to /usr/lib/debathena-lightdm-config
>   * Support multiple monitors (Trac: #1031)
> +  * If the nologin file exists when the greeter is spawned, then prevent
> +    logins
>
> - -- Jonathan Reed <jdreed@mit.edu>  Tue, 24 Jul 2012 18:21:25 -0400
> + -- Jonathan Reed <jdreed@mit.edu>  Wed, 01 Aug 2012 10:41:00 -0400
>
> debathena-lightdm-config (1.3) unstable; urgency=low
>
>
> Modified: trunk/debathena/config/lightdm-config/debian/debathena-lightdm-greeter
> ===================================================================
> --- trunk/debathena/config/lightdm-config/debian/debathena-lightdm-greeter	2012-08-01 14:12:41 UTC (rev 25678)
> +++ trunk/debathena/config/lightdm-config/debian/debathena-lightdm-greeter	2012-08-01 14:41:05 UTC (rev 25679)
> @@ -197,6 +197,10 @@
>         rw = Gdk.get_default_root_window()
>         rw.set_cursor(Gdk.Cursor(Gdk.CursorType.LEFT_PTR))
>         self.noLoginMonitor = Gio.File.new_for_path(self.nologinFile).monitor_file(Gio.FileMonitorFlags.NONE, None)
> +        # Check if the file is there right now...
> +        if os.path.isfile(self.nologinFile):
> +            self.loginNotebook.set_current_page(1)
> +        # and then connect
>         self.noLoginMonitor.connect("changed", self._file_changed)
>
>         if not os.path.exists(KIOSK_LAUNCH_CMD):
>
>

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