Make Alt-A work again.

This commit is contained in:
js 2008-05-07 16:24:15 +00:00
parent 99a8c05bb8
commit 4c29f03d6c
1 changed files with 4 additions and 0 deletions

View File

@ -480,6 +480,10 @@ class ChatControlBase(MessageControl):
gajim.interface.emoticon_menuitem_clicked = self.append_emoticon gajim.interface.emoticon_menuitem_clicked = self.append_emoticon
gajim.interface.emoticons_menu.popup(None, None, gajim.interface.emoticons_menu.popup(None, None,
set_emoticons_menu_position, 1, 0) set_emoticons_menu_position, 1, 0)
elif event.keyval == gtk.keysyms.a and \
(event.state & gtk.gdk.MOD1_MASK): # alt + a opens actions menu
self.on_actions_button_clicked(None)
return False return False
def _on_message_textview_key_press_event(self, widget, event): def _on_message_textview_key_press_event(self, widget, event):