* Fixes NB#82493, show proper translation string for secure auth methods
[modest] / src / maemo / easysetup / modest-easysetup-wizard-dialog.c
index 542dd01..4b5e02f 100644 (file)
@@ -52,7 +52,7 @@
 #include "modest-runtime.h" /* For modest_runtime_get_account_mgr(). */
 #include "maemo/modest-connection-specific-smtp-window.h"
 #include "widgets/modest-ui-constants.h"
-#include "maemo/modest-account-settings-dialog.h"
+#include "widgets/modest-account-settings-dialog.h"
 #include "maemo/modest-maemo-utils.h"
 #include "modest-utils.h"
 #include <gconf/gconf-client.h>
@@ -269,7 +269,7 @@ check_for_supported_auth_methods (ModestEasysetupWizardDialog* self)
        if(error == NULL || error->domain != modest_utils_get_supported_secure_authentication_error_quark() ||
                        error->code != MODEST_UTILS_GET_SUPPORTED_SECURE_AUTHENTICATION_ERROR_CANCELED)
        {
-               show_error (GTK_WIDGET(self), _("Could not discover supported secure authentication methods."));
+               show_error (GTK_WIDGET(self), _("mcen_ib_unableto_discover_auth_methods"));
        }
 
        if(error != NULL)
@@ -1254,14 +1254,6 @@ modest_easysetup_wizard_dialog_init (ModestEasysetupWizardDialog *self)
        priv->page_welcome = create_page_welcome (self);
        priv->page_account_details = create_page_account_details (self);
        priv->page_user_details = create_page_user_details (self);
-       priv->page_account_details = NULL;
-       priv->combo_account_country = NULL;
-       priv->combo_account_serviceprovider = NULL;
-       priv->entry_account_title = NULL;       
-       priv->entry_user_name = NULL;
-       priv->entry_user_username = NULL;
-       priv->entry_user_password = NULL;
-       priv->entry_user_email = NULL;  
        priv->page_complete_easysetup = NULL;       
        priv->page_custom_incoming = NULL;
        priv->combo_incoming_servertype = NULL;