Auto clear/hide search when open a chat. Fixes #7423
This commit is contained in:
parent
4dab465386
commit
a15270b7c0
|
@ -334,7 +334,7 @@ class RosterWindow:
|
||||||
return iter_group
|
return iter_group
|
||||||
|
|
||||||
def _add_entity(self, contact, account, groups=None,
|
def _add_entity(self, contact, account, groups=None,
|
||||||
big_brother_contact=None, big_brother_account=None):
|
big_brother_contact=None, big_brother_account=None):
|
||||||
"""
|
"""
|
||||||
Add the given contact to roster data model
|
Add the given contact to roster data model
|
||||||
|
|
||||||
|
@ -1154,7 +1154,8 @@ class RosterWindow:
|
||||||
self.draw_contact(parent_jid, parent_account)
|
self.draw_contact(parent_jid, parent_account)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def draw_contact(self, jid, account, selected=False, focus=False, contact_instances=None, contact=None):
|
def draw_contact(self, jid, account, selected=False, focus=False,
|
||||||
|
contact_instances=None, contact=None):
|
||||||
"""
|
"""
|
||||||
Draw the correct state image, name BUT not avatar
|
Draw the correct state image, name BUT not avatar
|
||||||
"""
|
"""
|
||||||
|
@ -4131,6 +4132,8 @@ class RosterWindow:
|
||||||
"""
|
"""
|
||||||
When an iter is double clicked: open the first event window
|
When an iter is double clicked: open the first event window
|
||||||
"""
|
"""
|
||||||
|
if self.rfilter_enabled:
|
||||||
|
self.disable_rfilter()
|
||||||
if not gajim.single_click:
|
if not gajim.single_click:
|
||||||
self.on_row_activated(widget, path)
|
self.on_row_activated(widget, path)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue