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
......@@ -366,6 +366,10 @@ def accel_group_func(self, accel_group, acceleratable, keyval, modifier):
# theme
if not gtk.settings_get_default().get_property(
'gtk-key-theme-name') == 'Emacs':
if gajim.interface.msg_win_mgr.mode == \
return False
return True
elif control.type_id == message_control.TYPE_CHAT and \
Supports Markdown
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