sugar-toolkit-gtk3/sugar/__init__.py
2006-06-07 16:08:14 -04:00

12 lines
325 B
Python

import pygtk
pygtk.require('2.0')
import gtk
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', '')