Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/toolbars.py
diff options
context:
space:
mode:
Diffstat (limited to 'toolbars.py')
-rw-r--r--toolbars.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolbars.py b/toolbars.py
index bb9358f..4fed000 100644
--- a/toolbars.py
+++ b/toolbars.py
@@ -79,7 +79,8 @@ class IconToggleToolButton(ToggleToolButton):
self.selected = (self.selected + 1) % len(self.items)
but = self.items[self.selected]
if 'icon' in but and _icon_exists(but['icon']):
- self.set_named_icon(but['icon'])
+ #self.set_named_icon(but['icon'])
+ self.props.icon_name = but['icon']
elif 'html' in but:
_logger.info('Setting html: %s', but['html'])
self.set_label(but['html'])