Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/graphics/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/graphics/common.py')
-rw-r--r--tests/graphics/common.py9
1 files changed, 6 insertions, 3 deletions
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()