Console: logviewer font changes
This commit is contained in:
parent
29d23cbe77
commit
f8a3daa2b6
@ -25,6 +25,7 @@ import pygtk
|
||||
pygtk.require('2.0')
|
||||
import gtk
|
||||
import gobject
|
||||
import pango
|
||||
|
||||
from sugar import env
|
||||
|
||||
@ -155,6 +156,10 @@ class LogView(gtk.ScrolledWindow):
|
||||
self.textview = gtk.TextView()
|
||||
self.textview.set_wrap_mode(gtk.WRAP_WORD)
|
||||
|
||||
font = pango.FontDescription('Sans 8')
|
||||
font.set_weight(pango.WEIGHT_LIGHT)
|
||||
self.textview.modify_font(font)
|
||||
|
||||
# Set background color
|
||||
bgcolor = gtk.gdk.color_parse("#FFFFFF")
|
||||
self.textview.modify_base(gtk.STATE_NORMAL, bgcolor)
|
||||
|
@ -1 +1,2 @@
|
||||
from xo import Interface
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user