diff options
author | mathieui <mathieui@mathieui.net> | 2016-06-05 00:08:49 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2016-06-05 00:08:49 +0200 |
commit | d2dcd9f5c0ba7832c8e95139cf6de1dea899a609 (patch) | |
tree | d23a53cbde73eacbcbd2d81c2e2dbb77e413441e | |
parent | 4fabdc42c06a1d8b609969b6e9b7d0471a551e8c (diff) | |
download | poezio-d2dcd9f5c0ba7832c8e95139cf6de1dea899a609.tar.gz poezio-d2dcd9f5c0ba7832c8e95139cf6de1dea899a609.tar.bz2 poezio-d2dcd9f5c0ba7832c8e95139cf6de1dea899a609.tar.xz poezio-d2dcd9f5c0ba7832c8e95139cf6de1dea899a609.zip |
Fix #3184 (remove upper limit for infowin)
also, typo
-rw-r--r-- | plugins/screen_detach.py | 2 | ||||
-rw-r--r-- | src/core/core.py | 5 |
2 files changed, 1 insertions, 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() |