don't show roster list when we hide it, minimize window to systray, and restore it. Fixes #5850
This commit is contained in:
parent
72e75131b3
commit
323feb9aac
1 changed files with 4 additions and 2 deletions
|
@ -1890,11 +1890,13 @@ class RosterWindow:
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
def show_roster_vbox(self, active):
|
def show_roster_vbox(self, active):
|
||||||
|
vb = self.xml.get_object('roster_vbox2')
|
||||||
if active:
|
if active:
|
||||||
self.xml.get_object('roster_vbox2').show()
|
vb.set_no_show_all(False)
|
||||||
|
vb.show()
|
||||||
else:
|
else:
|
||||||
self.xml.get_object('roster_vbox2').hide()
|
self.xml.get_object('roster_vbox2').hide()
|
||||||
|
vb.set_no_show_all(True)
|
||||||
|
|
||||||
def show_tooltip(self, contact):
|
def show_tooltip(self, contact):
|
||||||
pointer = self.tree.get_pointer()
|
pointer = self.tree.get_pointer()
|
||||||
|
|
Loading…
Add table
Reference in a new issue