Do not use prgname for the bundle id because xulrunner

is messing with it. Some activity launch fixes.
This commit is contained in:
Marco Pesenti Gritti
2007-10-16 14:29:38 +02:00
parent e425c1d886
commit cb0cedbc40
2 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -362,7 +362,7 @@ class Activity(Window, gtk.Container):
return self._activity_id
def get_bundle_id(self):
return _sugarbaseext.get_prgname()
return os.environ['SUGAR_BUNDLE_ID']
def set_canvas(self, canvas):
Window.set_canvas(self, canvas)
@@ -624,7 +624,7 @@ class Activity(Window, gtk.Container):
def get_bundle_name():
"""Return the bundle name for the current process' bundle
"""
return _sugarbaseext.get_application_name()
return os.environ['SUGAR_BUNDLE_NAME']
def get_bundle_path():
"""Return the bundle path for the current process' bundle