Do not use prgname for the bundle id because xulrunner
is messing with it. Some activity launch fixes.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user