From ae545425244a51e5aa26063318ae23662444ec45 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 25 Aug 2007 22:26:11 +0000 Subject: Add badge support to IconBuffer --- (limited to 'tests') diff --git a/tests/graphics/iconwidget.py b/tests/graphics/iconwidget.py index 829ab85..22d9276 100644 --- a/tests/graphics/iconwidget.py +++ b/tests/graphics/iconwidget.py @@ -39,6 +39,12 @@ icon = Icon(icon_name='computer-xo', test.pack_start(icon) icon.show() +icon = Icon(icon_name='battery-000', + icon_size=gtk.ICON_SIZE_LARGE_TOOLBAR, + badge_name='badge-busy') +test.pack_start(icon) +icon.show() + test.show() if __name__ == "__main__": -- cgit v0.9.1