diff options
author | Gary Martin <gary@garycmartin.com> | 2012-11-25 18:05:51 (GMT) |
---|---|---|
committer | Gary Martin <gary@garycmartin.com> | 2012-11-25 18:05:51 (GMT) |
commit | b76193f826e58720b7eb694e8206d0cfd23136ce (patch) | |
tree | bb9b5a940150cc7e23fb5ead3e0574416d0feaa3 /toolbars.py | |
parent | 9c3c7a8eb8dc0a4a05a2092a135da342e41f2c8d (diff) |
More GTK3 enum and props corrections
Diffstat (limited to 'toolbars.py')
-rw-r--r-- | toolbars.py | 3 |
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']) |