From 54dbb604670212d0fb528304b571a37ac65e1599 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sat, 12 Dec 2009 07:37:33 -0200 Subject: [PATCH] Better accelerators --- mitterlib/ui/ui_pygtk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mitterlib/ui/ui_pygtk.py b/mitterlib/ui/ui_pygtk.py index 1fe158a..3e7774f 100644 --- a/mitterlib/ui/ui_pygtk.py +++ b/mitterlib/ui/ui_pygtk.py @@ -373,7 +373,7 @@ class Interface(object): clear_action = gtk.Action('Clear', '_Clear', 'Clear the message list', gtk.STOCK_CLEAR) clear_action.connect('activate', self._clear_posts) - action_group.add_action_with_accel(clear_action, None) + action_group.add_action_with_accel(clear_action, 'l') #shrink_url_action = gtk.Action('ShrinkURL', 'Shrink _URL', # 'Shrink selected URL', gtk.STOCK_EXECUTE) @@ -410,7 +410,7 @@ class Interface(object): # TODO: Connect # TODO: Connecting function should indicate in the status bar that # a repost will be made. - action_group.add_action_with_accel(self._repost_action, 't') + action_group.add_action_with_accel(self._repost_action, 'p') # Help actions about_action = gtk.Action('About', '_About', 'About Mitter',