Split the gtkrc in sugar and sugar-xo. Make them load the

respective gtk theme.
This commit is contained in:
Marco Pesenti Gritti
2007-04-19 21:13:55 +02:00
parent 23bf7d94c6
commit 2f858c02a3
3 changed files with 9 additions and 5 deletions
+6 -1
View File
@@ -87,7 +87,12 @@ _start_xephyr()
from sugar import env
os.environ['GTK2_RC_FILES'] = env.get_data_path('gtkrc')
if env.is_emulator():
gtkrc_filename = 'sugar.gtkrc'
else:
gtkrc_filename = 'sugar-xo.gtkrc'
os.environ['GTK2_RC_FILES'] = env.get_data_path(gtkrc_filename)
if len(sys.argv) == 1:
program = 'sugar-shell'