From 7d53a155c8dcf9e232edcb3c70df6584713e1076 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Wed, 13 Nov 2002 02:14:32 +0000 Subject: push_in = FALSE, no clue why... :) (_arrow_pressed): call 2002-11-12 Chris Toshok * gui/contact-editor/e-contact-editor.c (_popup_position): push_in = FALSE, no clue why... :) (_arrow_pressed): call g_signal_stop_emission here, seems to fix things. * gui/component/select-names/e-select-names.c (e_select_names_init): fix warnings. * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_activate_dialog): fix warning. * gui/component/addressbook.c (forget_passwords_cb): remove the PENDING_PORT ifdef. (load_uri_auth_cb): same. (addressbook_authenticate): same. * gui/component/addressbook-factory.c (main): same. * gui/component/addressbook-storage.c (load_source_data): be silent about text nodes if they contain nothing but whitespace. svn path=/trunk/; revision=18728 --- addressbook/gui/component/addressbook-storage.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'addressbook/gui/component/addressbook-storage.c') diff --git a/addressbook/gui/component/addressbook-storage.c b/addressbook/gui/component/addressbook-storage.c index 7eb40281cf..6924052529 100644 --- a/addressbook/gui/component/addressbook-storage.c +++ b/addressbook/gui/component/addressbook-storage.c @@ -444,6 +444,19 @@ load_source_data (const char *file_path) source->binddn = get_string_value (child, "binddn"); source->limit = get_integer_value (child, "limit", 100); } + else if (!strcmp (child->name, "text")) { + if (child->content) { + int i; + for (i = 0; i < strlen (child->content); i++) { + if (!isspace (child->content[i])) { + g_warning ("illegal text in contactserver list."); + break; + } + } + } + g_free (source); + continue; + } else { g_warning ("unknown node '%s' in %s", child->name, file_path); g_free (source); -- cgit v1.2.3