Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorSayamindu Dasgupta <sayamindu@gmail.com>2009-09-02 09:08:15 (GMT)
committer Sayamindu Dasgupta <sayamindu@gmail.com>2009-09-02 09:08:15 (GMT)
commit7f6f5775fc66b919b5e2285a7f6e85644163842f (patch)
tree446bc2198a4da4006a336cf7be1ef7dfd79ac0a1 /extensions
parentb46e1fd657f1b004810aa685c5efb8d7f7af1fad (diff)
Make language cpsection visually consistent with the other cpsections
Diffstat (limited to 'extensions')
-rw-r--r--extensions/cpsection/language/view.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/cpsection/language/view.py b/extensions/cpsection/language/view.py
index a896aa5..4489b15 100644
--- a/extensions/cpsection/language/view.py
+++ b/extensions/cpsection/language/view.py
@@ -57,12 +57,14 @@ class Language(SectionView):
" If a translation is not available,"\
" the next in the list will be used.")
self._text = gtk.Label(explanation)
+ self._text.set_width_chars(100)
self._text.set_line_wrap(True)
self._text.set_alignment(0, 0)
self.pack_start(self._text, False)
self._text.show()
self._table = gtk.Table(rows=1, columns=3, homogeneous=False)
+ self._table.set_border_width(style.DEFAULT_SPACING * 2)
self.pack_start(self._table, False)
self._table.show()
@@ -86,6 +88,8 @@ class Language(SectionView):
self._table.resize(self._selected_lang_count, 3)
label = gtk.Label(str=str(self._selected_lang_count))
+ label.modify_fg(gtk.STATE_NORMAL,
+ style.COLOR_SELECTION_GREY.get_gdk_color())
self._labels.append(label)
self._attach_to_table(label, 0, 1, padding=1)
label.show()