File bnc-480095-proxy-login-crash.diff of Package evolution

Index: plugins/groupwise-features/proxy-login.c
===================================================================
--- a/plugins/groupwise-features/proxy-login.c	(revision 37529)
+++ a/plugins/groupwise-features/proxy-login.c	(working copy)
@@ -400,7 +400,9 @@ proxy_login_tree_view_changed_cb(GtkDial
 
 	account_select = gtk_tree_view_get_selection (GTK_TREE_VIEW (priv->tree));
 	gtk_tree_selection_get_selected (account_select, &model, &iter);
-        gtk_tree_model_get (model, &iter, ACCOUNT_NAME, &account_mailid, -1);
+	if ((priv->store)->stamp != (&iter)->stamp)
+		return;
+	gtk_tree_model_get (model, &iter, ACCOUNT_NAME, &account_mailid, -1);
 	account_mailid = g_strrstr (account_mailid, "\n") + 1;
 	account_name_tbox = glade_xml_get_widget (priv->xml, "account_name");
 	gtk_entry_set_text((GtkEntry*) account_name_tbox,account_mailid);
openSUSE Build Service is sponsored by