diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2008-03-31 19:24:30 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2008-03-31 19:24:30 (GMT) |
commit | dd16e50684400b18f7a27857eadea490a4c55dc8 (patch) | |
tree | 02fd7580fc2938cd5c795f4e4f13aeca517ea61f /src/emulator.py | |
parent | 457540e27e11ad2640aba8f306200a8ad8926bfb (diff) |
Revert "Setup xsettings dinamically so that we can take"
This reverts commit 457540e27e11ad2640aba8f306200a8ad8926bfb.
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: |