* no longer force the user to enter a username for the outgoing (smtp) server. silvan...
authorArne Zellentin <arne@kernelconcepts.de>
Thu, 15 Jun 2006 16:11:19 +0000 (16:11 +0000)
committerArne Zellentin <arne@kernelconcepts.de>
Thu, 15 Jun 2006 16:11:19 +0000 (16:11 +0000)
pmo-trunk-r272

src/gtk-glade/modest-ui-wizard.c

index 082521c..a4beffe 100644 (file)
@@ -113,11 +113,12 @@ gboolean advance_sanity_check(GtkWindow *parent, GladeXML *glade_xml, gint cp) {
                        wizard_missing_notification(NULL, "Please specify outgoing server address.");
                        return FALSE;
                }
+               /* smtp servers may work without a username 
                if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(glade_xml_get_widget(glade_xml, "AWUseIncomingCheckButton")))==FALSE
                    && strlen(gtk_entry_get_text(GTK_ENTRY(glade_xml_get_widget(glade_xml, "AWOutUserNameEntry"))))==0) {
                        wizard_missing_notification(NULL, "Please enter user name.");
                        return FALSE;
-               }
+               } */
 
                return TRUE;
                break;