Fix import

This commit is contained in:
Marco Pesenti Gritti 2007-07-27 20:18:53 +02:00
parent b23b63cdd5
commit e62b927883

View File

@ -40,7 +40,7 @@ from sugar.graphics.toolcombobox import ToolComboBox
from sugar.datastore import datastore from sugar.datastore import datastore
from sugar import wm from sugar import wm
from sugar import profile from sugar import profile
from sugar import _sugaruiext from sugar import _sugarext
class ActivityToolbar(gtk.Toolbar): class ActivityToolbar(gtk.Toolbar):
SHARE_PRIVATE = 0 SHARE_PRIVATE = 0
@ -289,7 +289,7 @@ class Activity(Window, gtk.Container):
return self._activity_id return self._activity_id
def get_service_name(self): def get_service_name(self):
return _sugaruiext.get_prgname() return _sugarext.get_prgname()
def set_canvas(self, canvas): def set_canvas(self, canvas):
Window.set_canvas(self, canvas) Window.set_canvas(self, canvas)
@ -469,7 +469,7 @@ class Activity(Window, gtk.Container):
def get_bundle_name(): def get_bundle_name():
"""Return the bundle name for the current process' bundle """Return the bundle name for the current process' bundle
""" """
return _sugaruiext.get_application_name() return _sugarext.get_application_name()
def get_bundle_path(): def get_bundle_path():
"""Return the bundle path for the current process' bundle """Return the bundle path for the current process' bundle