From 1292a7f553c8200165481bf404cac55765edc660 Mon Sep 17 00:00:00 2001 From: Tim McNamara Date: Sun, 15 Aug 2010 05:01:00 +0000 Subject: 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 --- 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) -- cgit v0.9.1