From 1d9d085d158c03997c3e7536e8a4195cc799a762 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Tue, 25 Jun 2013 01:10:33 +0200 Subject: Do not open a tab on Enter when searching in the roster MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Often, we search people but don’t actually want to open a tab with them (maybe the users wants to talk to a specific resource, or see the contact’s status, or things like that) To open a tab to talk to this contact, the user just need to type Enter twice --- src/tabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tabs.py b/src/tabs.py index 639f4c77..5dd3fb14 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -3035,7 +3035,7 @@ class RosterInfoTab(Tab): roster.contact_filter = None self.reset_help_message() roster.modified() - return False + return True def on_close(self): return -- cgit v1.2.3