From d2dcd9f5c0ba7832c8e95139cf6de1dea899a609 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 5 Jun 2016 00:08:49 +0200 Subject: [PATCH] Fix #3184 (remove upper limit for infowin) also, typo --- plugins/screen_detach.py | 2 +- src/core/core.py | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/plugins/screen_detach.py b/plugins/screen_detach.py index b51b5c2d..793575d8 100644 --- a/plugins/screen_detach.py +++ b/plugins/screen_detach.py @@ -100,7 +100,7 @@ class Plugin(BasePlugin, pyinotify.Notifier): self.attached = attached status = 'available' if self.attached else 'away' self.core.command_status(status) - if sef.config.get('use_csi'): + if self.config.get('use_csi'): if self.attached: self.core.xmpp.plugin['xep_0352'].send_active() else: diff --git a/src/core/core.py b/src/core/core.py index 7b078569..cf2cfc2e 100644 --- a/src/core/core.py +++ b/src/core/core.py @@ -1540,12 +1540,7 @@ class Core(object): self.information_win_size+nb >= self.current_tab().height-4 or\ self.size.core_degrade_y: return 0 - if self.information_win_size == 14: - return 0 self.information_win_size += nb - if self.information_win_size > 14: - nb = nb - (self.information_win_size - 14) - self.information_win_size = 14 self.resize_global_information_win() for tab in self.tabs: tab.on_info_win_size_changed()