Remove unused methods

Action Button was removed in the last ChatControl redesign
This commit is contained in:
Philipp Hörist 2017-12-17 20:22:33 +01:00
parent 8f2630b10f
commit 80ceee57af
2 changed files with 0 additions and 15 deletions

View File

@ -1044,16 +1044,6 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
def on_clear_formatting_menuitem_activate(self, widget):
self.msg_textview.clear_tags()
def on_actions_button_clicked(self, widget):
"""
Popup action menu
"""
menu = self.prepare_context_menu(hide_buttonbar_items=True)
menu.show_all()
menu.attach_to_widget(widget, None)
gtkgui_helpers.popup_emoticons_under_button(menu, widget,
self.parent_win)
def update_tags(self):
self.conv_textview.update_tags()

View File

@ -451,11 +451,6 @@ class MessageWindow(object):
elif keyval == Gdk.KEY_m: # ALT + M show emoticons menu
control.emoticons_button.get_popover().show()
return True
elif keyval == Gdk.KEY_d: # ALT + D show actions menu
if Gtk.Settings.get_default().get_property(
'gtk-key-theme-name') != 'Emacs':
control.on_actions_button_clicked(control.actions_button)
return True
elif control.type_id == message_control.TYPE_GC and \
keyval == Gdk.KEY_t: # ALT + t
control._on_change_subject_menuitem_activate(None)