update toolbar when the status has changed

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

View File

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