don't show roster list when we hide it, minimize window to systray, and restore it. Fixes #5850

This commit is contained in:
Yann Leboulanger 2010-08-12 22:11:11 +02:00
parent 72e75131b3
commit 323feb9aac
1 changed files with 4 additions and 2 deletions

View File

@ -1890,11 +1890,13 @@ class RosterWindow:
################################################################################
def show_roster_vbox(self, active):
vb = self.xml.get_object('roster_vbox2')
if active:
self.xml.get_object('roster_vbox2').show()
vb.set_no_show_all(False)
vb.show()
else:
self.xml.get_object('roster_vbox2').hide()
vb.set_no_show_all(True)
def show_tooltip(self, contact):
pointer = self.tree.get_pointer()