sugar-toolkit-gtk3/sugar/theme.py
2006-07-12 14:02:29 +02:00

11 lines
310 B
Python

import gtk
def setup():
settings = gtk.settings_get_default()
if settings.get_property('gtk-theme-name') != 'olpc':
settings.set_string_property('gtk-theme-name', 'olpc', '')
if settings.get_property('gtk-icon-theme-name') != 'olpc':
settings.set_string_property('gtk-icon-theme-name', 'olpc', '')