[evolution] Autocompletion - do not use quick timeout when user types text



commit 3b8afec6a73886883cbec2fe962aaa39cd467b5e
Author: Milan Crha <mcrha redhat com>
Date:   Fri Feb 22 09:34:31 2013 +0100

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-name-selector-entry.c b/e-util/e-name-selector-entry.c
index 544c8b5..089e440 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]