[evolution-data-server] Bug #558478 - Autocompletion inserts comma.



commit 6a692683f4503ffb7e0708c7ca69cd3aa53da4e0
Author: Vibha Yadav <yvibha novell com>
Date:   Mon Oct 18 11:04:48 2010 +0530

    Bug #558478 - Autocompletion inserts comma.
    
    Retrieve the text of gtk_entry again.

 libedataserverui/e-name-selector-entry.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libedataserverui/e-name-selector-entry.c b/libedataserverui/e-name-selector-entry.c
index 4423c94..ead543a 100644
--- a/libedataserverui/e-name-selector-entry.c
+++ b/libedataserverui/e-name-selector-entry.c
@@ -1596,6 +1596,7 @@ entry_activate (ENameSelectorEntry *name_selector_entry)
 	sync_destination_at_position (name_selector_entry, cursor_pos, &cursor_pos);
 
 	/* Place cursor at end of address */
+	text = gtk_entry_get_text (GTK_ENTRY (name_selector_entry));
 	get_range_at_position (text, cursor_pos, &range_start, &range_end);
 
 	if (priv->is_completing) {



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