Changes

361 bytes added ,  16:05, 30 January 2012
no edit summary
Line 46: Line 46:  
see
 
see
 
http://mail.gnome.org/archives/python-hackers-list/2011-December/msg00013.html
 
http://mail.gnome.org/archives/python-hackers-list/2011-December/msg00013.html
 +
 +
=== Port hardcoded styles to the CSS stylesheet ===
 +
 +
For example in sugar/extensions/cpsection/network/view.py we have things like:
 +
 +
<pre>
 +
        label_server = gtk.Label(_('Server:'))
 +
        label_server.set_alignment(1, 0.5)
 +
        label_server.modify_fg(gtk.STATE_NORMAL,
 +
                              style.COLOR_SELECTION_GREY.get_gdk_color())
 +
</pre>
296

edits