Skip to content
Snippets Groups Projects
Commit d5c0ec86 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

remove the Ctrl-F -> send file shortcut in one window mode. Fixes #7831

parent c5e02cfc
No related branches found
No related tags found
No related merge requests found
......@@ -366,6 +366,10 @@ class MessageWindow(object):
# theme
if not gtk.settings_get_default().get_property(
'gtk-key-theme-name') == 'Emacs':
if gajim.interface.msg_win_mgr.mode == \
gajim.interface.msg_win_mgr.ONE_MSG_WINDOW_ALWAYS_WITH_ROSTER:
gajim.interface.roster.tree.grab_focus()
return False
control._on_send_file_menuitem_activate(None)
return True
elif control.type_id == message_control.TYPE_CHAT and \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment