diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-08-25 22:26:11 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-08-25 22:26:11 (GMT) |
commit | ae545425244a51e5aa26063318ae23662444ec45 (patch) | |
tree | ac0a78d7a025277d2871e396ea57fbc2994a1ff7 /tests/graphics | |
parent | d32dd05569410e47c06b14e3e83c434ad9ac375f (diff) |
Add badge support to IconBuffer
Diffstat (limited to 'tests/graphics')
-rw-r--r-- | tests/graphics/iconwidget.py | 6 |
1 files changed, 6 insertions, 0 deletions
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__": |