Browse Source

Better accelerators

master
Julio Biason 15 years ago
parent
commit
54dbb60467
  1. 4
      mitterlib/ui/ui_pygtk.py

4
mitterlib/ui/ui_pygtk.py

@ -373,7 +373,7 @@ class Interface(object):
clear_action = gtk.Action('Clear', '_Clear', clear_action = gtk.Action('Clear', '_Clear',
'Clear the message list', gtk.STOCK_CLEAR) 'Clear the message list', gtk.STOCK_CLEAR)
clear_action.connect('activate', self._clear_posts) clear_action.connect('activate', self._clear_posts)
action_group.add_action_with_accel(clear_action, None) action_group.add_action_with_accel(clear_action, '<Ctrl>l')
#shrink_url_action = gtk.Action('ShrinkURL', 'Shrink _URL', #shrink_url_action = gtk.Action('ShrinkURL', 'Shrink _URL',
# 'Shrink selected URL', gtk.STOCK_EXECUTE) # 'Shrink selected URL', gtk.STOCK_EXECUTE)
@ -410,7 +410,7 @@ class Interface(object):
# TODO: Connect # TODO: Connect
# TODO: Connecting function should indicate in the status bar that # TODO: Connecting function should indicate in the status bar that
# a repost will be made. # a repost will be made.
action_group.add_action_with_accel(self._repost_action, '<Ctrl>t') action_group.add_action_with_accel(self._repost_action, '<Ctrl>p')
# Help actions # Help actions
about_action = gtk.Action('About', '_About', 'About Mitter', about_action = gtk.Action('About', '_About', 'About Mitter',

Loading…
Cancel
Save