Split the UI part of sugarext out to his own module to avoid

dragging gtk inside services.
This commit is contained in:
Marco Pesenti Gritti
2007-07-27 20:15:31 +02:00
parent b9d7d00985
commit b23b63cdd5
43 changed files with 276 additions and 580 deletions
+3 -3
View File
@@ -40,7 +40,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 _sugaruiext
class ActivityToolbar(gtk.Toolbar):
SHARE_PRIVATE = 0
@@ -289,7 +289,7 @@ class Activity(Window, gtk.Container):
return self._activity_id
def get_service_name(self):
return _sugarext.get_prgname()
return _sugaruiext.get_prgname()
def set_canvas(self, canvas):
Window.set_canvas(self, canvas)
@@ -469,7 +469,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 _sugaruiext.get_application_name()
def get_bundle_path():
"""Return the bundle path for the current process' bundle