reset tooltip on send file button when filetransfer become available. Fixes #5669

This commit is contained in:
Yann Leboulanger 2010-03-21 09:36:51 +01:00
parent fe967aa4b1
commit 20fbaff581
1 changed files with 1 additions and 0 deletions

View File

@ -1512,6 +1512,7 @@ class ChatControl(ChatControlBase):
# Send file
if self.contact.supports(NS_FILE) and self.contact.resource:
self._send_file_button.set_sensitive(True)
self._send_file_button.set_tooltip_text('')
else:
self._send_file_button.set_sensitive(False)
if not self.contact.supports(NS_FILE):