Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/sweetener/itembox.py
diff options
context:
space:
mode:
authorDaniel Francis <francis@sugarlabs.org>2012-10-03 00:23:16 (GMT)
committer Daniel Francis <francis@sugarlabs.org>2012-10-03 00:23:16 (GMT)
commit5ceda38732c57211d3f38e6cbbd7b8a521a0a9e5 (patch)
tree7fa653cb7ccc6d8c4fc9c34967f3b5dd66dbd726 /sugar/sweetener/itembox.py
parente1a599bb8508e1a0607e052a2f086289844dee60 (diff)
Start sugarizing; use Gtk3
Diffstat (limited to 'sugar/sweetener/itembox.py')
-rw-r--r--sugar/sweetener/itembox.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/sugar/sweetener/itembox.py b/sugar/sweetener/itembox.py
index d861c52..99c45bd 100644
--- a/sugar/sweetener/itembox.py
+++ b/sugar/sweetener/itembox.py
@@ -17,16 +17,16 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.
-import gtk
-from sugar.graphics.toolbarbox import ToolbarBox
-from sugar.activity.widgets import StopButton
+from gi.repository import Gtk
+from sugar3.graphics.toolbarbox import ToolbarBox
+from sugar3.activity.widgets import StopButton
class ItemBox(ToolbarBox):
def __init__(self, activity):
ToolbarBox.__init__(self)
self._parent = activity
- separator = gtk.SeparatorToolItem()
+ separator = Gtk.SeparatorToolItem()
separator.set_draw(False)
separator.set_expand(True)
separator.show()