From 94d0e44d4f74070265bdad81ad855ecc1adbfc45 Mon Sep 17 00:00:00 2001
From: timClicks <paperless@timmcnamara.co.nz>
Date: Mon, 3 May 2010 16:57:43 +1200
Subject: [PATCH] Enabled word wrap on lengthy gtk.Label
The current copyright attribution extends past the screen size of
the XOs. This looks out of place.
Additionally, this patch fixes some punctuation errors & a
removes the capitalisation from 'collaborators', which is not a
pronoun.
Summary:
- Enabled word wrapping, so that the message now fits without
scrolling.
- Changed semi-colons to commas in the list.
- Removed capitalisation from non-pronoun.
---
extensions/cpsection/aboutcomputer/view.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/extensions/cpsection/aboutcomputer/view.py b/extensions/cpsection/aboutcomputer/view.py
index dd4f8f3..da20275 100644
a
|
b
|
class AboutComputer(SectionView): |
175 | 175 | vbox_copyright.set_spacing(style.DEFAULT_SPACING) |
176 | 176 | |
177 | 177 | label_copyright = gtk.Label("© 2006-2009 One Laptop per Child " |
178 | | "Association Inc; Red Hat Inc; Collabora Ltd; " |
179 | | "and Contributors.") |
| 178 | "Association Inc, Red Hat Inc, Collabora Ltd; " |
| 179 | "and contributors.") |
| 180 | label_info.set_line_wrap(True) |
180 | 181 | label_copyright.set_alignment(0, 0) |
181 | 182 | label_copyright.show() |
182 | 183 | vbox_copyright.pack_start(label_copyright, expand=False) |