Minimize Roster correctly on ESC

Fixes #8765
This commit is contained in:
Philipp Hörist 2017-10-14 21:08:19 +02:00
parent 5aeed6c737
commit 16ad608066
1 changed files with 1 additions and 1 deletions

View File

@ -3755,7 +3755,7 @@ class RosterWindow:
'quit_on_roster_x_button') and ((app.interface.systray_enabled and\
app.config.get('trayicon') == 'always') or app.config.get(
'allow_hide_roster')):
self.window.hide()
self.window.iconify()
elif event.get_state() & Gdk.ModifierType.CONTROL_MASK and event.keyval == \
Gdk.KEY_i:
treeselection = self.tree.get_selection()