From 3b73b6f5bb1dc6a0f61f1bbfb30e5c1534fcfbb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Mon, 30 Apr 2018 00:35:48 +0200 Subject: [PATCH] Windows: Always hide roster window on X As all Windows versions have a status icon and most Windows users expect this Fixes #9031 --- gajim/roster_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gajim/roster_window.py b/gajim/roster_window.py index 9ffeb7cfe..1bf83f43c 100644 --- a/gajim/roster_window.py +++ b/gajim/roster_window.py @@ -2381,7 +2381,7 @@ class RosterWindow: x, y = self.window.get_position() app.config.set('roster_x-position', x) app.config.set('roster_y-position', y) - if app.config.get('hide_on_roster_x_button'): + if os.name == 'nt' or app.config.get('hide_on_roster_x_button'): self.window.hide() else: self.window.iconify() @@ -3696,7 +3696,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')): - if app.config.get('hide_on_roster_x_button'): + if os.name == 'nt' or app.config.get('hide_on_roster_x_button'): self.window.hide() else: self.window.iconify()