Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/lib/sugar/activity/activity.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-10-16 12:29:38 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-10-16 12:29:38 (GMT)
commitcb0cedbc405ea7148fa30e47f0f8e38ff047daa3 (patch)
tree0f85f6f33365e1d48808e29b94563af4863143e7 /lib/sugar/activity/activity.py
parente425c1d886450f8d34ed8301de26ab4ea5de70ca (diff)
Do not use prgname for the bundle id because xulrunner
is messing with it. Some activity launch fixes.
Diffstat (limited to 'lib/sugar/activity/activity.py')
-rw-r--r--lib/sugar/activity/activity.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sugar/activity/activity.py b/lib/sugar/activity/activity.py
index c581c15..d3cfe2a 100644
--- a/lib/sugar/activity/activity.py
+++ b/lib/sugar/activity/activity.py
@@ -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