changeset 2ad999368b29 in /home/hg/repos/gajim
branches:
details:http://hg.gajim.org/gajim?cmd=changeset;node=2ad999368b29
description: Auto clear/hide search when open a chat.
diffstat:
src/roster_window.py | 4 ++--
1 файлов изменено, 2 вставок(+), 2 удалений(-)
различия (21 строк):
diff -r 801c2b952010 -r 2ad999368b29 src/roster_window.py
--- a/src/roster_window.py Thu Aug 15 12:45:38 2013 +0400
+++ b/src/roster_window.py Thu Aug 15 14:32:14 2013 +0400
@@ -4041,8 +4041,6 @@
When an iter is activated (double-click or single click if gnome is set
this way)
"""
- if self.rfilter_enabled:
- self.disable_rfilter()
model = self.modelfilter
account = model[path][C_ACCOUNT].decode('utf-8')
type_ = model[path][C_TYPE]
@@ -4052,6 +4050,8 @@
else:
self.tree.expand_row(path, False)
return
+ if self.rfilter_enabled:
+ self.disable_rfilter()
jid = model[path][C_JID].decode('utf-8')
resource = None
contact = gajim.contacts.get_contact_with_highest_priority(account,
jid)
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits