Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/test-notebook.py
diff options
context:
space:
mode:
authorEduardo Silva <edsiper@monotop.(none)>2007-05-09 18:38:38 (GMT)
committer Eduardo Silva <edsiper@monotop.(none)>2007-05-09 18:38:38 (GMT)
commit5d14daf44bae7795994a9a88b5a5458c1f106575 (patch)
tree59c499742d6e354f6a4b588235816bbb4779784c /tests/test-notebook.py
parent00e8348c731376b4f72d05285971b89bc9af0e06 (diff)
Notebook class now use **kwargs to set properties
Diffstat (limited to 'tests/test-notebook.py')
-rwxr-xr-xtests/test-notebook.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test-notebook.py b/tests/test-notebook.py
index fe90de8..262b38e 100755
--- a/tests/test-notebook.py
+++ b/tests/test-notebook.py
@@ -27,8 +27,7 @@ window.connect("destroy", lambda w: gtk.main_quit())
window.set_size_request(800, 600)
window.show_all()
-nb = Notebook()
-nb.set_property('can-close-tabs', True)
+nb = Notebook(can_close_tabs=True)
window.add(nb)