diff options
author | Tim McNamara <code@timmcnamara.co.nz> | 2010-08-15 05:01:00 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> | 2010-08-15 14:54:57 (GMT) |
commit | 1292a7f553c8200165481bf404cac55765edc660 (patch) | |
tree | 0f9c0bc77f74b7dee97d2bf1c209350f92aa0189 /extensions/cpsection/aboutcomputer/view.py | |
parent | 5ff30eadf670f5225ae305f10e248c7d97a88fb4 (diff) |
Fixed text overflow, padding. Closes sl#1980
This commit
- adds Sugar Labs as a copyright owner
- fixes the text overflow problem
- adds set_request_size method to label_copyright make
the two labels's alignment (label_info & label_copyright)
consistent with each other
Diffstat (limited to 'extensions/cpsection/aboutcomputer/view.py')
-rw-r--r-- | extensions/cpsection/aboutcomputer/view.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/extensions/cpsection/aboutcomputer/view.py b/extensions/cpsection/aboutcomputer/view.py index dd4f8f3..b6ff43f 100644 --- a/extensions/cpsection/aboutcomputer/view.py +++ b/extensions/cpsection/aboutcomputer/view.py @@ -174,10 +174,13 @@ class AboutComputer(SectionView): vbox_copyright.set_border_width(style.DEFAULT_SPACING * 2) vbox_copyright.set_spacing(style.DEFAULT_SPACING) - label_copyright = gtk.Label("© 2006-2009 One Laptop per Child " - "Association Inc; Red Hat Inc; Collabora Ltd; " + label_copyright = gtk.Label("© 2006-2010 One Laptop per Child " + "Association Inc, Sugar Labs Inc, " + "Red Hat Inc, Collabora Ltd " "and Contributors.") label_copyright.set_alignment(0, 0) + label_copyright.set_size_request(gtk.gdk.screen_width() / 2, -1) + label_copyright.set_line_wrap(True) label_copyright.show() vbox_copyright.pack_start(label_copyright, expand=False) |