[25355] in Source-Commits
Re: /svn/athena r24919 - trunk/debathena/config/gdm-config/debian
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Wed Jan 5 21:16:05 2011
Date: Wed, 5 Jan 2011 21:15:55 -0500 (EST)
From: Geoffrey Thomas <geofft@MIT.EDU>
To: Jonathan D Reed <jdreed@mit.edu>
cc: source-commits@mit.edu
In-Reply-To: <201101052015.p05KFWn4019457@drugstore.mit.edu>
Message-ID: <alpine.DEB.1.10.1101052113280.24885@dr-wily.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
I feel like we should have some sort of canonical idea of the current
machine, so we can be equivalently loud about things that aren't -cluster
if they're supposed to be, or things that aren't Lucid or the like, and
maybe we should be less loud in the non-cluster case, but those seem
significantly harder and I can see an argument that we expect to be able
to run both 32- and 64-bit programs, so sure, ACK.
--
Geoffrey Thomas
geofft@mit.edu
On Wed, 5 Jan 2011, Jonathan D Reed wrote:
> Author: jdreed
> Date: 2011-01-05 15:15:32 -0500 (Wed, 05 Jan 2011)
> New Revision: 24919
>
> Modified:
> trunk/debathena/config/gdm-config/debian/debathena-branding
> Log:
> Be louder about non-64bit machines
>
> Modified: trunk/debathena/config/gdm-config/debian/debathena-branding
> ===================================================================
> --- trunk/debathena/config/gdm-config/debian/debathena-branding 2011-01-05 19:54:49 UTC (rev 24918)
> +++ trunk/debathena/config/gdm-config/debian/debathena-branding 2011-01-05 20:15:32 UTC (rev 24919)
> @@ -59,7 +59,10 @@
> baseos = subprocess.Popen(["machtype", "-E"], stdout=subprocess.PIPE).communicate()[0].rstrip()
> except OSError:
> baseos = '(error)'
> - self.lblBranding.set_text(metapackage + "\n" + baseos + " (" + platform.machine() + ")")
> + arch = platform.machine()
> + if arch != "x86_64":
> + arch = "<b>" + arch + "</b>"
> + self.lblBranding.set_markup(metapackage + "\n" + baseos + "\n" + arch)
> self.winBranding.set_gravity(gtk.gdk.GRAVITY_SOUTH_EAST)
> width, height = self.winBranding.get_size()
> self.winBranding.move(gtk.gdk.screen_width() - width, gtk.gdk.screen_height() - height)
>
>