parent
4fabdc42c0
commit
d2dcd9f5c0
2 changed files with 1 additions and 6 deletions
|
@ -100,7 +100,7 @@ class Plugin(BasePlugin, pyinotify.Notifier):
|
||||||
self.attached = attached
|
self.attached = attached
|
||||||
status = 'available' if self.attached else 'away'
|
status = 'available' if self.attached else 'away'
|
||||||
self.core.command_status(status)
|
self.core.command_status(status)
|
||||||
if sef.config.get('use_csi'):
|
if self.config.get('use_csi'):
|
||||||
if self.attached:
|
if self.attached:
|
||||||
self.core.xmpp.plugin['xep_0352'].send_active()
|
self.core.xmpp.plugin['xep_0352'].send_active()
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -1540,12 +1540,7 @@ class Core(object):
|
||||||
self.information_win_size+nb >= self.current_tab().height-4 or\
|
self.information_win_size+nb >= self.current_tab().height-4 or\
|
||||||
self.size.core_degrade_y:
|
self.size.core_degrade_y:
|
||||||
return 0
|
return 0
|
||||||
if self.information_win_size == 14:
|
|
||||||
return 0
|
|
||||||
self.information_win_size += nb
|
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()
|
self.resize_global_information_win()
|
||||||
for tab in self.tabs:
|
for tab in self.tabs:
|
||||||
tab.on_info_win_size_changed()
|
tab.on_info_win_size_changed()
|
||||||
|
|
Loading…
Reference in a new issue