Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-08-27 20:10:18 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-08-27 20:10:18 (GMT)
commitc742cff64dde66ca7d8f2f68b1c41a023640d154 (patch)
tree72ad12290357e2702dbf9e1c7b4afe55b3cb9d9b /tests
parent7fcc23b4c8c36b28f2e17904c1a64244fdd553b6 (diff)
Show arrows only when the icons does not fit.
Diffstat (limited to 'tests')
-rw-r--r--tests/graphics/tray.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/graphics/tray.py b/tests/graphics/tray.py
index 8088fde..9bbf0b2 100644
--- a/tests/graphics/tray.py
+++ b/tests/graphics/tray.py
@@ -41,6 +41,15 @@ for i in range(0, 100):
tray.add_item(button)
button.show()
+tray = HTray()
+box.pack_start(tray, False)
+tray.show()
+
+for i in range(0, 10):
+ button = TrayButton(icon_name=theme_icons[i])
+ tray.add_item(button)
+ button.show()
+
test.pack_start(box)
box.show()