Split part of the sugar library to sugar-base
This commit is contained in:
@@ -42,7 +42,7 @@ from sugar.graphics.toolcombobox import ToolComboBox
|
||||
from sugar.datastore import datastore
|
||||
from sugar import wm
|
||||
from sugar import profile
|
||||
from sugar import _sugarext
|
||||
from sugar import _sugarbaseext
|
||||
|
||||
SCOPE_PRIVATE = "private"
|
||||
SCOPE_INVITE_ONLY = "invite" # shouldn't be shown in UI, it's implicit when you invite somebody
|
||||
@@ -367,7 +367,7 @@ class Activity(Window, gtk.Container):
|
||||
return self._activity_id
|
||||
|
||||
def get_bundle_id(self):
|
||||
return _sugarext.get_prgname()
|
||||
return _sugarbaseext.get_prgname()
|
||||
|
||||
def set_canvas(self, canvas):
|
||||
Window.set_canvas(self, canvas)
|
||||
@@ -638,7 +638,7 @@ class Activity(Window, gtk.Container):
|
||||
def get_bundle_name():
|
||||
"""Return the bundle name for the current process' bundle
|
||||
"""
|
||||
return _sugarext.get_application_name()
|
||||
return _sugarbaseext.get_application_name()
|
||||
|
||||
def get_bundle_path():
|
||||
"""Return the bundle path for the current process' bundle
|
||||
|
||||
Reference in New Issue
Block a user