Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/graphics/ticket2999.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/graphics/ticket2999.py')
-rw-r--r--tests/graphics/ticket2999.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/graphics/ticket2999.py b/tests/graphics/ticket2999.py
index 5ebae31..557ba53 100644
--- a/tests/graphics/ticket2999.py
+++ b/tests/graphics/ticket2999.py
@@ -19,7 +19,7 @@
Spec in ticket #2999.
"""
-import gtk
+from gi.repository import Gtk
from sugar3.graphics.palette import Palette
from sugar3.graphics.icon import Icon
@@ -29,9 +29,9 @@ import common
test = common.Test()
test.set_border_width(60)
-text_view = gtk.TextView()
+text_view = Gtk.TextView()
text_view.props.buffer.props.text = 'Blah blah blah, blah blah blah.'
-test.pack_start(text_view)
+test.pack_start(text_view, True, True, 0)
text_view.show()
if __name__ == '__main__':