diff options
author | Walter Bender <walter.bender@gmail.com> | 2012-09-28 19:29:35 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2012-09-28 19:29:35 (GMT) |
commit | b25168933d598de2cc7911b539f6829ad581fcf5 (patch) | |
tree | 2bce0fcba0c0a391760e5128db7baf22e151a38f /toolbar_utils.py | |
parent | 2b8491cacde6c5e9b1c1dc2b24b780463329ff0d (diff) |
cleanup of misc conversion bugs
Diffstat (limited to 'toolbar_utils.py')
-rw-r--r-- | toolbar_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolbar_utils.py b/toolbar_utils.py index b6fa1a1..5a1fa7c 100644 --- a/toolbar_utils.py +++ b/toolbar_utils.py @@ -29,7 +29,7 @@ def button_factory(icon_name, toolbar, callback, cb_arg=None, tooltip=None, if cb_arg is None: button.connect('clicked', callback) else: - button.connect('clicked', cb_arg) + button.connect('clicked', callback, cb_arg) if hasattr(toolbar, 'insert'): # the main toolbar toolbar.insert(button, -1) else: # or a secondary toolbar |