Fix #3184 (remove upper limit for infowin)

also, typo
This commit is contained in:
mathieui 2016-06-05 00:08:49 +02:00
parent 4fabdc42c0
commit d2dcd9f5c0
2 changed files with 1 additions and 6 deletions

View file

@ -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:

View file

@ -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()