diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-03-09 13:57:54 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-03-09 13:57:54 (GMT) |
commit | 57c928916ca7cdacd728834a9b59ecc33b55339e (patch) | |
tree | 2cc618248d665cde0790853d0d169754271fd21c /sugar-emulator | |
parent | a380b7f915ca32293315176027f835fb739bb86b (diff) |
Refactor sugar.env and paths
Diffstat (limited to 'sugar-emulator')
-rwxr-xr-x | sugar-emulator | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sugar-emulator b/sugar-emulator index c87dc71..d31010d 100755 --- a/sugar-emulator +++ b/sugar-emulator @@ -56,9 +56,9 @@ else: dpi = min(_sugar.get_screen_dpi(), 96) if sourcedir: - kbd_config = os.path.join(sourcedir, 'shell/data/kbdconfig') + kbd_config = os.path.join(sourcedir, 'emulator/kbdconfig') else: - kbd_config = os.path.join(env.get_data_dir(), 'kbdconfig') + kbd_config = os.path.join(env.get_emulator_path('kbdconfig')) emulator = Emulator(width, height, dpi) emulator.set_keyboard_config(kbd_config) |