Commit d5c0ec86 authored by Yann Leboulanger's avatar Yann Leboulanger

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

parent c5e02cfc
......@@ -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 \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment