[Sugar-devel] [PATCH read] Adopt to removal of the old toolbar
Simon Schampijer
simon at schampijer.de
Thu Jan 12 08:27:36 EST 2012
As part of the removal of the old toolbar, old API has been removed,
adopt to that change, see http://lists.sugarlabs.org/archive/sugar-devel/2012-January/035201.html
Signed-off-by: Simon Schampijer <simon at laptop.org>
---
readtoolbar.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/readtoolbar.py b/readtoolbar.py
index b52d19c..14b629c 100644
--- a/readtoolbar.py
+++ b/readtoolbar.py
@@ -29,17 +29,17 @@ from sugar3.graphics.toggletoolbutton import ToggleToolButton
from sugar3.graphics.toolcombobox import ToolComboBox
from sugar3.graphics.menuitem import MenuItem
from sugar3.graphics import iconentry
-from sugar3.activity import activity
+from sugar3.activity.widgets import EditToolbar as BaseEditToolbar
import speech
-class EditToolbar(activity.EditToolbar):
+class EditToolbar(BaseEditToolbar):
__gtype_name__ = 'EditToolbar'
def __init__(self):
- activity.EditToolbar.__init__(self)
+ BaseEditToolbar.__init__(self)
self._view = None
--
1.7.7.5
More information about the Sugar-devel
mailing list