[26095] in Source-Commits

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

Re: /svn/athena r25379 - in trunk/debathena/debathena/dotfiles: .

daemon@ATHENA.MIT.EDU (Benjamin Kaduk)
Tue Aug 23 22:28:18 2011

Date: Tue, 23 Aug 2011 22:28:10 -0400 (EDT)
From: Benjamin Kaduk <kaduk@MIT.EDU>
To: Jonathan D Reed <jdreed@MIT.EDU>
cc: source-commits@MIT.EDU
In-Reply-To: <201108112209.p7BM9NYT015979@drugstore.mit.edu>
Message-ID: <alpine.GSO.1.10.1108232227060.7526@multics.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

ACK.

-Ben

On Thu, 11 Aug 2011, Jonathan D Reed wrote:

> Author: jdreed
> Date: 2011-08-11 18:09:23 -0400 (Thu, 11 Aug 2011)
> New Revision: 25379
>
> Modified:
>   trunk/debathena/debathena/dotfiles/bashrc
>   trunk/debathena/debathena/dotfiles/cshrc
>   trunk/debathena/debathena/dotfiles/debian/changelog
> Log:
> In dotfiles:
>  * Update logout alias for GNOME 3.0 (Trac: #1027)
>
>
> Modified: trunk/debathena/debathena/dotfiles/bashrc
> ===================================================================
> --- trunk/debathena/debathena/dotfiles/bashrc	2011-08-11 20:26:36 UTC (rev 25378)
> +++ trunk/debathena/debathena/dotfiles/bashrc	2011-08-11 22:09:23 UTC (rev 25379)
> @@ -106,7 +106,11 @@
> # Set up standard bash shell initializations
>
> if [ "${XSESSION+set}" = set ]; then
> +   if [ -x /usr/bin/gnome-session-quit ]; then
> +	logout () { gnome-session-quit --no-prompt; exit; } # logout for X
> +   else
> 	logout () { gnome-session-save --kill --silent; exit; } # logout for X
> +   fi
> fi
>
> #   aliases dealing with adding locker programs
>
> Modified: trunk/debathena/debathena/dotfiles/cshrc
> ===================================================================
> --- trunk/debathena/debathena/dotfiles/cshrc	2011-08-11 20:26:36 UTC (rev 25378)
> +++ trunk/debathena/debathena/dotfiles/cshrc	2011-08-11 22:09:23 UTC (rev 25379)
> @@ -148,7 +148,11 @@
> # Set up standard C shell aliases
>
> if ($?XSESSION) then
> -  alias logout	'exit && gnome-session-save --kill --silent'	# logout for X
> +  if ( -x /usr/bin/gnome-session-quit ) then
> +    alias logout	'exit && gnome-session-quit --no-prompt'	# logout for X
> +  else
> +    alias logout	'exit && gnome-session-save --kill --silent'	# logout for X
> +  endif
> endif
>
> #   aliases dealing with subjects
>
> Modified: trunk/debathena/debathena/dotfiles/debian/changelog
> ===================================================================
> --- trunk/debathena/debathena/dotfiles/debian/changelog	2011-08-11 20:26:36 UTC (rev 25378)
> +++ trunk/debathena/debathena/dotfiles/debian/changelog	2011-08-11 22:09:23 UTC (rev 25379)
> @@ -1,3 +1,9 @@
> +debathena-dotfiles (10.0.30-0debathena1) UNRELEASED; urgency=low
> +
> +  * Update logout alias for GNOME 3.0 (Trac: #1027)
> +
> + -- Jonathan Reed <jdreed@mit.edu>  Thu, 11 Aug 2011 18:08:36 -0400
> +
> debathena-dotfiles (10.0.29-0debathena1) unstable; urgency=low
>
>   [ Geoffrey Thomas ]
>
>

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