[evolution-ews] Bug 654545 - 'Select address list' duplicates entries in UI



commit 7de3b9846d985412edeac4406b5e634268e5254f
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Fri Jul 15 12:08:20 2011 +0530

    Bug 654545 - 'Select address list' duplicates entries in UI

 .../exchange-ews-account-setup.c                   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/account-setup-eplugin/exchange-ews-account-setup.c b/src/account-setup-eplugin/exchange-ews-account-setup.c
index f4b4529..ca1b298 100644
--- a/src/account-setup-eplugin/exchange-ews-account-setup.c
+++ b/src/account-setup-eplugin/exchange-ews-account-setup.c
@@ -552,7 +552,7 @@ init_widgets (struct _oab_setting_data *cbdata)
 
 		/* selected list will be of form "id:name" */
 		selected_list = camel_url_get_param (url, "oal_selected");
-		if (selected_list) {
+		if (selected_list && gtk_combo_box_get_active (GTK_COMBO_BOX (cbdata->combo_text)) == -1) {
 			const gchar *tmp;
 			
 			tmp = strrchr (selected_list, ':');



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