aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-editor.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-12-22 15:38:16 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-12-22 15:38:16 +0800
commitda10c48009573371ec19e12da0ffe95344bd02a0 (patch)
tree2948e3c2279f0e678a10ca7f5f4503676f4aacba /mail/em-account-editor.c
parent6fec7fed87a7f21eacc80ea687671c4084f7b1af (diff)
downloadgsoc2013-evolution-da10c48009573371ec19e12da0ffe95344bd02a0.tar
gsoc2013-evolution-da10c48009573371ec19e12da0ffe95344bd02a0.tar.gz
gsoc2013-evolution-da10c48009573371ec19e12da0ffe95344bd02a0.tar.bz2
gsoc2013-evolution-da10c48009573371ec19e12da0ffe95344bd02a0.tar.lz
gsoc2013-evolution-da10c48009573371ec19e12da0ffe95344bd02a0.tar.xz
gsoc2013-evolution-da10c48009573371ec19e12da0ffe95344bd02a0.tar.zst
gsoc2013-evolution-da10c48009573371ec19e12da0ffe95344bd02a0.zip
moved to after emae_authtype_changed to fix warning.
2004-12-22 Not Zed <NotZed@Ximian.com> * em-account-editor.c (emae_needs_auth): moved to after emae_authtype_changed to fix warning. 2004-12-17 Not Zed <NotZed@Ximian.com> * em-format-html-display.c (efhd_attachment_popup): * message-list.c (ml_tree_drag_data_received): * em-folder-view.c (emfv_popup, emfv_format_popup_event): * em-folder-tree.c (tree_drag_data_received): api changes. (emft_popup): * em-popup.c (emp_standard_menu_factory) (emp_standard_menu_factory): api changes. svn path=/trunk/; revision=28180
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r--mail/em-account-editor.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index a6f17fc546..4d702963b6 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -1061,26 +1061,6 @@ emae_path_changed(GtkEntry *entry, EMAccountEditorService *service)
emae_service_url_changed(service, camel_url_set_path, entry);
}
-static void
-emae_needs_auth(GtkToggleButton *toggle, EMAccountEditorService *service)
-{
- GtkWidget *w;
- int need = gtk_toggle_button_get_active(toggle);
-
- w = glade_xml_get_widget(service->emae->priv->xml, emae_service_info[service->type].auth_frame);
- gtk_widget_set_sensitive(w, need);
-
- if (need)
- emae_authtype_changed(service->authtype, service);
- else {
- CamelURL *url = emae_account_url(service->emae, emae_service_info[service->type].account_uri_key);
-
- camel_url_set_authmech(url, NULL);
- emae_uri_changed(service, url);
- camel_url_free(url);
- }
-}
-
static int
emae_ssl_update(EMAccountEditorService *service, CamelURL *url)
{
@@ -1361,6 +1341,26 @@ emae_authtype_changed(GtkComboBox *dropdown, EMAccountEditorService *service)
gtk_widget_set_sensitive((GtkWidget *)service->remember, authtype?authtype->need_password:FALSE);
}
+static void
+emae_needs_auth(GtkToggleButton *toggle, EMAccountEditorService *service)
+{
+ GtkWidget *w;
+ int need = gtk_toggle_button_get_active(toggle);
+
+ w = glade_xml_get_widget(service->emae->priv->xml, emae_service_info[service->type].auth_frame);
+ gtk_widget_set_sensitive(w, need);
+
+ if (need)
+ emae_authtype_changed(service->authtype, service);
+ else {
+ CamelURL *url = emae_account_url(service->emae, emae_service_info[service->type].account_uri_key);
+
+ camel_url_set_authmech(url, NULL);
+ emae_uri_changed(service, url);
+ camel_url_free(url);
+ }
+}
+
static void emae_check_authtype(GtkWidget *w, EMAccountEditorService *service);
static GtkWidget *