sugar-toolkit-gtk3/sugar/activity/__init__.py
2006-12-20 13:43:54 +01:00

10 lines
237 B
Python

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, '')