From 1b2c9f9f28872500dc365b49330710c9e6fca270 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 20 Aug 2007 11:24:28 +0000 Subject: Finish up test for 2855. --- (limited to 'tests/graphics/common.py') diff --git a/tests/graphics/common.py b/tests/graphics/common.py index d6ca869..2f00099 100644 --- a/tests/graphics/common.py +++ b/tests/graphics/common.py @@ -29,13 +29,16 @@ class TestPalette(Test): toolbar = gtk.Toolbar() - button = ToolButton('stop') - toolbar.insert(button, -1) - button.show() + self._invoker = ToolButton('go-previous') + toolbar.insert(self._invoker, -1) + self._invoker.show() self.pack_start(toolbar, False) toolbar.show() + def set_palette(self, palette): + self._invoker.set_palette(palette) + class TestRunner(object): def run(self, test): window = gtk.Window() -- cgit v0.9.1