diff options
-rw-r--r-- | addressbook/ChangeLog | 4 | ||||
-rw-r--r-- | addressbook/gui/component/addressbook-config.c | 11 |
2 files changed, 7 insertions, 8 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index e17173c57e..7035deff71 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,7 @@ +2004-04-27 Larry Ewing <lewing@ximian.com> + + * gui/component/addressbook-config.c: remove debug spew. + 2004-04-27 Jeffrey Stedfast <fejj@ximian.com> * gui/component/addressbook-migrate.c (addressbook_migrate): diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c index baad07f731..ddd6fb21ef 100644 --- a/addressbook/gui/component/addressbook-config.c +++ b/addressbook/gui/component/addressbook-config.c @@ -642,10 +642,9 @@ general_tab_check (AddressbookSourceDialog *dialog) return TRUE; string = gtk_entry_get_text (GTK_ENTRY (dialog->host)); - if (!string || !string[0]) { + if (!string || !string[0]) valid = FALSE; - g_warning ("no host"); - } + if (valid) { if (dialog->auth != ADDRESSBOOK_LDAP_AUTH_NONE) { if (dialog->auth == ADDRESSBOOK_LDAP_AUTH_SIMPLE_BINDDN) @@ -653,10 +652,8 @@ general_tab_check (AddressbookSourceDialog *dialog) else string = gtk_entry_get_text (GTK_ENTRY (dialog->email)); - if (!string || !string[0]) { - g_warning ("no string"); + if (!string || !string[0]) valid = FALSE; - } } } @@ -1009,8 +1006,6 @@ add_folder_modify (GtkWidget *widget, AddressbookSourceDialog *sdialog) gboolean valid = TRUE; gboolean remote = FALSE; - g_warning ("Modify callback"); - valid = display_name_check (sdialog); remote = source_group_is_remote (sdialog->source_group); |