update toolbar when the status has changed

This commit is contained in:
Denis Fomin 2013-07-21 23:26:58 +04:00
parent 1ca3a759bd
commit 81b46ba440
1 changed files with 2 additions and 0 deletions

View File

@ -1466,6 +1466,7 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
self.msg_textview.set_sensitive(True) self.msg_textview.set_sensitive(True)
self.msg_textview.set_editable(True) self.msg_textview.set_editable(True)
# FIXME: Set sensitivity for toolbar # FIXME: Set sensitivity for toolbar
self.update_toolbar()
def got_disconnected(self): def got_disconnected(self):
self.msg_textview.set_sensitive(False) self.msg_textview.set_sensitive(False)
@ -1474,6 +1475,7 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
self.no_autonegotiation = False self.no_autonegotiation = False
# FIXME: Set sensitivity for toolbar # FIXME: Set sensitivity for toolbar
self.update_toolbar()
################################################################################ ################################################################################