summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Niklaus <marex@opencompositing.org>2009-02-23 15:07:27 +0100
committerPatrick Niklaus <marex@opencompositing.org>2009-02-23 15:07:27 +0100
commitdba925e56ca05dadbf08e2427a0f8f4b40b30da8 (patch)
tree5c1ed6fa42efe3c5ee83f6dbbf1a22e1eab7d625
parent3caa1ad91b10a525b0a72e26050248989dd1efd7 (diff)
downloadccsm-dba925e56ca05dadbf08e2427a0f8f4b40b30da8.tar.gz
ccsm-dba925e56ca05dadbf08e2427a0f8f4b40b30da8.tar.bz2
Change integrated setting style from blue text color to italic
-rw-r--r--ccm/Settings.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/ccm/Settings.py b/ccm/Settings.py
index 3f945cb..974c7f8 100644
--- a/ccm/Settings.py
+++ b/ccm/Settings.py
@@ -112,9 +112,10 @@ class Setting(object):
label = gtk.Label()
desc = protect_pango_markup (self.Setting.ShortDesc)
- style = ""
- if self.Setting.Integrated: style = ''' foreground="blue"'''
- label.set_markup("<span%s>%s</span>" % (style, desc))
+ style = "%s"
+ if self.Setting.Integrated:
+ style = "<i>%s</i>"
+ label.set_markup(style % desc)
label.props.xalign = 0
label.set_size_request(160, -1)
label.props.wrap_mode = pango.WRAP_WORD