sugar-toolkit-gtk3/sugar/activity/__init__.py

10 lines
237 B
Python
Raw Normal View History

2006-10-11 19:58:57 +02:00
import gtk
from sugar.graphics.grid import Grid
settings = gtk.settings_get_default()
grid = Grid()
sizes = 'gtk-large-toolbar=%d, %d' % (grid.dimension(1), grid.dimension(1))
settings.set_string_property('gtk-icon-sizes', sizes, '')