diff options
author | Walter Bender <walter.bender@gmail.com> | 2011-09-26 13:45:19 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2011-09-26 13:45:19 (GMT) |
commit | 32ef4233b70a2891ab5c476e826d7bced974d7eb (patch) | |
tree | aa8402384d539389701a15c4538214ae37bb4e8b /utils.py | |
parent | 43aac18ef602227483449a4bda821166524233a6 (diff) |
added missing call to set_tooltip
Diffstat (limited to 'utils.py')
-rw-r--r-- | utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -103,6 +103,8 @@ def radio_button_factory(icon_name, toolbar, callback, cb_arg=None, ''' Add a radio button to a toolbar ''' button = RadioToolButton(group=group) button.set_named_icon(icon_name) + if tooltip is not None: + button.set_tooltip(tooltip) if cb_arg is None: button.connect('clicked', callback) else: |