diff options
Diffstat (limited to 'src/emulator.py')
-rwxr-xr-x | src/emulator.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/emulator.py b/src/emulator.py index f54bdf2..23ceea1 100755 --- a/src/emulator.py +++ b/src/emulator.py @@ -131,6 +131,15 @@ def main(): else: os.environ['SUGAR_XO_STYLE'] = 'no' + if options.xo_style: + gtkrc_filename = 'sugar-xo.gtkrc' + else: + gtkrc_filename = 'sugar.gtkrc' + os.environ['SUGAR_XO_STYLE'] = 'no' + + gtkrc_path = os.path.join(config.data_path, gtkrc_filename) + os.environ['GTK2_RC_FILES'] = gtkrc_path + command = ['dbus-launch', 'dbus-launch', '--exit-with-session'] if not args: |