From eb32e8c8ff5b08591f9203d79290847c82a58ef3 Mon Sep 17 00:00:00 2001 From: noisymime Date: Fri, 20 Jun 2008 23:58:53 +0000 Subject: [PATCH] - Fixes to label_queue --- modules/tests/test_label_queue.py | 9 +------ modules/tests/tests.py | 2 -- themes/default/tests.xml | 5 +--- ui_elements/label_queue.py | 41 ++++++++++++++----------------- 4 files changed, 21 insertions(+), 36 deletions(-) diff --git a/modules/tests/test_label_queue.py b/modules/tests/test_label_queue.py index 010333f..e7a0e73 100644 --- a/modules/tests/test_label_queue.py +++ b/modules/tests/test_label_queue.py @@ -18,7 +18,7 @@ class Module(clutter.Group): self.backdrop.set_height(self.stage.get_height()) self.add(self.backdrop) - self.queue = LabelQueue() + self.queue = LabelQueue(orientation=LabelQueue.ORIENTATION_BOTTOM) self.queue.setup_from_theme_id(glossMgr.themeMgr, "tests_label_queue") self.add(self.queue) @@ -33,13 +33,6 @@ class Module(clutter.Group): return True def begin(self, glossMgr): - """ - self.label = clutter.Label() - self.label.set_text("blahdslkfjdsl") - self.label.show() - self.label.set_color(clutter.color_parse('White')) - self.add(self.label) - """ self.backdrop.set_opacity(0) self.backdrop.show() diff --git a/modules/tests/tests.py b/modules/tests/tests.py index 3801bef..9c1a3c5 100644 --- a/modules/tests/tests.py +++ b/modules/tests/tests.py @@ -166,10 +166,8 @@ class Module: for fs_object in module_list: file = tests_dir + "/" + fs_object - print file[-8:] if (file[-3:] == ".py") and (not file[-8:] == "tests.py"): file = file.rstrip(".py") - print file test = __import__(file).Module(self.glossMgr, self.dbMgr) self.tests.append(test) tempItem = tempMenu.addItem(fs_object) diff --git a/themes/default/tests.xml b/themes/default/tests.xml index 084cbe4..f986884 100644 --- a/themes/default/tests.xml +++ b/themes/default/tests.xml @@ -22,7 +22,7 @@ Eg: 1.00 means that each item will be the same height as the font, 1.50 means that the item will be 1.x times the height as the font etc --> - 1.00 + 1.10 1.00