aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-11-04 00:49:57 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-11-07 09:10:57 +0800
commit88f8df25221a4396c2d814fb65166db951f3ae65 (patch)
tree8cf4e23896e94c6bed40a8320a590e484fb7be59 /mail
parentb74ff36f79718fd563fb5b55b4ee269fc7117970 (diff)
downloadgsoc2013-evolution-88f8df25221a4396c2d814fb65166db951f3ae65.tar
gsoc2013-evolution-88f8df25221a4396c2d814fb65166db951f3ae65.tar.gz
gsoc2013-evolution-88f8df25221a4396c2d814fb65166db951f3ae65.tar.bz2
gsoc2013-evolution-88f8df25221a4396c2d814fb65166db951f3ae65.tar.lz
gsoc2013-evolution-88f8df25221a4396c2d814fb65166db951f3ae65.tar.xz
gsoc2013-evolution-88f8df25221a4396c2d814fb65166db951f3ae65.tar.zst
gsoc2013-evolution-88f8df25221a4396c2d814fb65166db951f3ae65.zip
EMAccountEditor: Remove dead code.
Diffstat (limited to 'mail')
-rw-r--r--mail/em-account-editor.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index 87ff312fe1..e225f2df13 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -1498,32 +1498,11 @@ emae_service_url_path_changed (EMAccountEditorService *service,
void (*setval)(CamelURL *, const gchar *),
GtkWidget *widget)
{
- GtkComboBox *dropdown;
- gint id;
- GtkTreeModel *model;
- GtkTreeIter iter;
- CamelServiceAuthType *authtype;
-
CamelURL *url = emae_account_url (service->emae, emae_service_info[service->type].account_uri_key);
const gchar *text = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (widget));
setval (url, (text && text[0]) ? text : NULL);
- if (text && text[0] && setval == camel_url_set_user) {
- dropdown = service->authtype;
- if (dropdown) {
- id = gtk_combo_box_get_active (dropdown);
- if (id != -1) {
- model = gtk_combo_box_get_model (dropdown);
- if (gtk_tree_model_iter_nth_child (model, &iter, NULL, id)) {
- gtk_tree_model_get (model, &iter, 1, &authtype, -1);
- if (authtype)
- camel_url_set_authmech (url, authtype->authproto);
- }
- }
- }
- }
-
emae_uri_changed (service, url);
camel_url_free (url);
}