From 3b8afec6a73886883cbec2fe962aaa39cd467b5e Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 22 Feb 2013 09:34:31 +0100 Subject: Autocompletion - do not use quick timeout when user types text The quick timeout is used only when new items are found, do not use it when user types text, because it flickers. --- e-util/e-name-selector-entry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'e-util/e-name-selector-entry.c') diff --git a/e-util/e-name-selector-entry.c b/e-util/e-name-selector-entry.c index 544c8b5b51..089e440731 100644 --- a/e-util/e-name-selector-entry.c +++ b/e-util/e-name-selector-entry.c @@ -1515,7 +1515,7 @@ user_insert_text (ENameSelectorEntry *name_selector_entry, re_set_timeout (name_selector_entry->priv->update_completions_cb_id, update_completions_on_timeout_cb, name_selector_entry, AUTOCOMPLETE_TIMEOUT); re_set_timeout (name_selector_entry->priv->type_ahead_complete_cb_id, - type_ahead_complete_on_timeout_cb, name_selector_entry, SHOW_RESULT_TIMEOUT); + type_ahead_complete_on_timeout_cb, name_selector_entry, AUTOCOMPLETE_TIMEOUT); } g_signal_handlers_unblock_by_func (name_selector_entry, user_delete_text, name_selector_entry); -- cgit v1.2.3