aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-editor.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-03-02 13:23:46 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-03-02 13:23:46 +0800
commit9c26fef2d420b58f8e3699af4c09705f3e9eb65b (patch)
treebc4c445914a44b7ea43b315edafdafbf53b218ef /mail/em-account-editor.c
parent9f9805577b127c40c317e72bbfdd1cd8235b5de2 (diff)
downloadgsoc2013-evolution-9c26fef2d420b58f8e3699af4c09705f3e9eb65b.tar.gz
gsoc2013-evolution-9c26fef2d420b58f8e3699af4c09705f3e9eb65b.tar.zst
gsoc2013-evolution-9c26fef2d420b58f8e3699af4c09705f3e9eb65b.zip
include atkutil.h (message_list_construct): cast warning.
2005-03-01 Not Zed <NotZed@Ximian.com> * message-list.c: include atkutil.h (message_list_construct): cast warning. * mail-session.c (mail_session_set_interactive): remove unused variable since we can no longer terminate password requests. * mail-autofilter.c (em_vfolder_rule_from_address): properly define in header. * em-utils.c (emu_get_save_filesel): only define filename in the !gtkfilechooser case. * em-mailer-prefs.c (restore_labels_clicked): cast for warning. (em_mailer_prefs_construct): same. * em-format-html.c (efh_format_header): remove unused variable. * em-account-editor.c (emae_widget_druid_glade): remove unused variable. * importers/mail-importer.h: forward-delcare struct _MailComponent. * *c: remove/disable various debug. svn path=/trunk/; revision=28934
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r--mail/em-account-editor.c22
1 files changed, 9 insertions, 13 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index 47bc9e2f9c..3e25485134 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -526,13 +526,13 @@ emae_auto_detect(EMAccountEditor *emae)
|| (entries = service->provider->extra_conf) == NULL)
return;
- printf("Running auto-detect\n");
+ d(printf("Running auto-detect\n"));
url = emae_account_url(emae, E_ACCOUNT_SOURCE_URL);
camel_provider_auto_detect(service->provider, url, &auto_detected, NULL);
camel_url_free(url);
if (auto_detected == NULL) {
- printf(" no values detected\n");
+ d(printf(" no values detected\n"));
return;
}
@@ -647,8 +647,6 @@ emae_signaturetype_changed(GtkComboBox *dropdown, EMAccountEditor *emae)
gtk_tree_model_get(model, &iter, 1, &uid, -1);
}
- printf("signaturetype changed: %d uid=%s\n", id, uid?uid:"");
-
e_account_set_string(emae->account, E_ACCOUNT_ID_SIGNATURE, uid);
g_free(uid);
}
@@ -699,7 +697,6 @@ emae_setup_signatures(EMAccountEditor *emae, GladeXML *xml)
gtk_list_store_append(store, &iter);
gtk_list_store_set(store, &iter, 0, sig->autogen?_("Autogenerated"):sig->name, 1, sig->uid, -1);
- printf("check sig '%s' is ours '%s' = %s\n", sig->uid, current, (current && !strcmp(current, sig->uid))?"yep":"no");
if (current && !strcmp(current, sig->uid))
active = i;
@@ -1919,7 +1916,7 @@ emae_receive_options_extra_item(EConfig *ec, EConfigItem *eitem, struct _GtkWidg
return NULL;
section:
- printf("Building extra section '%s'\n", eitem->path);
+ d(printf("Building extra section '%s'\n", eitem->path));
url = emae_account_url(emae, emae_service_info[service->type].account_uri_key);
item->extra_table = g_hash_table_new(g_str_hash, g_str_equal);
@@ -2226,7 +2223,6 @@ emae_management_page(EConfig *ec, EConfigItem *item, struct _GtkWidget *parent,
static GtkWidget *
emae_widget_druid_glade(EConfig *ec, EConfigItem *item, struct _GtkWidget *parent, struct _GtkWidget *old, void *data)
{
- EMAccountEditor *emae = data;
GladeXML *druidxml = glade_xml_new(EVOLUTION_GLADEDIR "/mail-config.glade", item->label, NULL);
GtkWidget *w;
@@ -2352,19 +2348,19 @@ emae_check_complete(EConfig *ec, const char *pageid, void *data)
|| tmp[0] == 0
|| is_email(tmp));
if (!ok)
- printf("identity incomplete\n");
+ d(printf("identity incomplete\n"));
}
if (ok && (pageid == NULL || !strcmp(pageid, "10.receive"))) {
ok = emae_service_complete(emae, &emae->priv->source);
if (!ok)
- printf("receive page incomplete\n");
+ d(printf("receive page incomplete\n"));
}
if (ok && (pageid == NULL || !strcmp(pageid, "30.send"))) {
ok = emae_service_complete(emae, &emae->priv->transport);
if (!ok)
- printf("send page incomplete\n");
+ d(printf("send page incomplete\n"));
}
if (ok && (pageid == NULL || !strcmp(pageid, "40.management"))) {
@@ -2373,7 +2369,7 @@ emae_check_complete(EConfig *ec, const char *pageid, void *data)
&& ((ea = mail_config_get_account_by_name(tmp)) == NULL
|| ea == emae->original);
if (!ok)
- printf("management page incomplete\n");
+ d(printf("management page incomplete\n"));
}
/* We use the page-check of various pages to 'prepare' or
@@ -2454,12 +2450,12 @@ emae_commit(EConfig *ec, GSList *items, void *data)
/* the mail-config*acconts* api needs a lot of work */
if (emae->original) {
- printf("Committing account '%s'\n", e_account_get_string(emae->account, E_ACCOUNT_NAME));
+ d(printf("Committing account '%s'\n", e_account_get_string(emae->account, E_ACCOUNT_NAME)));
e_account_import(emae->original, emae->account);
account = emae->original;
e_account_list_change(accounts, account);
} else {
- printf("Adding new account '%s'\n", e_account_get_string(emae->account, E_ACCOUNT_NAME));
+ d(printf("Adding new account '%s'\n", e_account_get_string(emae->account, E_ACCOUNT_NAME)));
e_account_list_add(accounts, emae->account);
account = emae->account;