diff options
author | Ajay Garg <ajay@activitycentral.com> | 2013-01-23 07:12:47 (GMT) |
---|---|---|
committer | Ajay Garg <ajay@activitycentral.com> | 2013-01-23 07:12:47 (GMT) |
commit | c3396e0396878ec9fa8da69a20a5948f4713ac8b (patch) | |
tree | 7f2d03bd50a2598e015eff10aa97042721a5c5c9 | |
parent | 896f06b2d1d102efb765f85408bb67580cc4f636 (diff) |
Revert "Testsuite: set theme before running the test"
This reverts commit 358e37227a0f0a8776096e1709a2aecde3e45159.
-rw-r--r-- | tests/graphics/common.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/graphics/common.py b/tests/graphics/common.py index 8d516ad..02c3e19 100644 --- a/tests/graphics/common.py +++ b/tests/graphics/common.py @@ -31,7 +31,7 @@ def set_theme(): sugar_theme = 'sugar-100' settings.set_property('gtk-theme-name', sugar_theme) settings.set_property('gtk-icon-theme-name', 'sugar') -set_theme() + class Test(Gtk.VBox): def __init__(self): @@ -57,6 +57,7 @@ class TestPalette(Test): class TestRunner(object): def run(self, test): + set_theme() window = Gtk.Window() window.connect('destroy', lambda w: Gtk.main_quit()) window.add(test) |