Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar-emulator
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-03-08 10:44:00 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-03-08 10:44:00 (GMT)
commite1f0ba15f4241fe9a74eec621de957c72d2f2265 (patch)
tree005fcc44306b10861f9f4a1eb5782c66bb7ec725 /sugar-emulator
parent8ddaa516b32f41717cc022c7f6d3f3101a6fc69b (diff)
Make sugar-emulator [program] actually work again
Diffstat (limited to 'sugar-emulator')
-rwxr-xr-xsugar-emulator4
1 files changed, 2 insertions, 2 deletions
diff --git a/sugar-emulator b/sugar-emulator
index f951649..e83c20a 100755
--- a/sugar-emulator
+++ b/sugar-emulator
@@ -39,7 +39,7 @@ from sugar.emulator import Emulator
import _sugar
if len(sys.argv) == 1:
- program = 'sugar-shell'
+ program = 'shell/sugar-shell'
else:
program = sys.argv[1]
@@ -58,7 +58,7 @@ emulator = Emulator(width, height, fullscreen, dpi)
emulator.start()
if sourcedir:
- program = os.path.join(os.path.join(sourcedir, 'shell'), program)
+ program = os.path.join(sourcedir, program)
os.execlp('dbus-launch', 'dbus-launch', '--exit-with-session', program, sourcedir)
else:
os.execlp('dbus-launch', 'dbus-launch', '--exit-with-session', program)