Show arrows only when the icons does not fit.

This commit is contained in:
Marco Pesenti Gritti
2007-08-27 22:10:18 +02:00
parent 7fcc23b4c8
commit c742cff64d
2 changed files with 40 additions and 2 deletions
+9
View File
@@ -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()