Skip to content

Commit

Permalink
use GTK equiv method to workaround #97
Browse files Browse the repository at this point in the history
  • Loading branch information
fossfreedom committed Aug 28, 2016
1 parent c5b9af4 commit 9810cc6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions alttoolbar_rb3compat.py
Expand Up @@ -541,8 +541,7 @@ def add_action(self, func, action_name, **args):
self.actiongroup.add_action(action)

if accel:
app.add_accelerator(accel, action_type + "." + action_name,
None)
app.set_accels_for_action(action_type + "." + action_name, [accel])
else:
if 'stock_id' in args:
stock_id = args['stock_id']
Expand Down

0 comments on commit 9810cc6

Please sign in to comment.