From c742cff64dde66ca7d8f2f68b1c41a023640d154 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 27 Aug 2007 20:10:18 +0000 Subject: Show arrows only when the icons does not fit. --- (limited to 'tests/graphics/tray.py') 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() -- cgit v0.9.1