Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/emulator.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/emulator.py')
-rwxr-xr-xsrc/emulator.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/emulator.py b/src/emulator.py
index 23ceea1..3a500d1 100755
--- a/src/emulator.py
+++ b/src/emulator.py
@@ -127,18 +127,10 @@ def main():
_start_xephyr()
if options.xo_style:
+ os.environ['SUGAR_THEME'] = 'sugar-xo'
os.environ['SUGAR_XO_STYLE'] = 'yes'
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']