Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
path: root/edittoolbar.py
diff options
authorSimon Schampijer <simon@schampijer.de>2012-01-11 18:41:27 (GMT)
committer Simon Schampijer <simon@schampijer.de>2012-01-11 18:41:27 (GMT)
commit1cd6ac12aaad587b85adbd0ada05e7d12608cdcc (patch)
tree52b1ee8ee8bf3c3cfd88c7889b06dd126ccd33d1 /edittoolbar.py
parentaec9d7aab2115696cfd6b0fbf9fcabbec771d621 (diff)
Deprecation fix: don't use EditToolbar from activity module
The EditToolar has been moved to the widgets module Signed-off-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'edittoolbar.py')
1 files changed, 3 insertions, 3 deletions
diff --git a/edittoolbar.py b/edittoolbar.py
index 5c70546..958b6ad 100644
--- a/edittoolbar.py
+++ b/edittoolbar.py
@@ -20,15 +20,15 @@ from gi.repository import Gtk
from gi.repository import Gdk
from gettext import gettext as _
-from sugar3.activity import activity
+from sugar3.activity.widgets import EditToolbar as BaseEditToolbar
from sugar3.graphics import iconentry
from sugar3.graphics.toolbutton import ToolButton
from sugar3.graphics import style
-class EditToolbar(activity.EditToolbar):
+class EditToolbar(BaseEditToolbar):
def __init__(self, act):
- activity.EditToolbar.__init__(self)
+ BaseEditToolbar.__init__(self)
self._activity = act
self._browser = None