Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/graphics/ticket3000.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/graphics/ticket3000.py')
-rw-r--r--tests/graphics/ticket3000.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/graphics/ticket3000.py b/tests/graphics/ticket3000.py
index afecb4a..295d796 100644
--- a/tests/graphics/ticket3000.py
+++ b/tests/graphics/ticket3000.py
@@ -19,7 +19,7 @@
Spec in ticket #3000.
"""
-import gtk
+from gi.repository import Gtk
from sugar3.graphics.toolbutton import ToolButton
@@ -27,7 +27,7 @@ import common
test = common.Test()
-toolbar = gtk.Toolbar()
+toolbar = Gtk.Toolbar()
test.pack_start(toolbar, False)
toolbar.show()
@@ -35,7 +35,7 @@ button = ToolButton('go-previous')
toolbar.insert(button, -1)
button.show()
-separator = gtk.SeparatorToolItem()
+separator = Gtk.SeparatorToolItem()
toolbar.add(separator)
separator.show()