aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-storage.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-11-13 10:14:32 +0800
committerChris Toshok <toshok@src.gnome.org>2002-11-13 10:14:32 +0800
commit7d53a155c8dcf9e232edcb3c70df6584713e1076 (patch)
treec185bab119a6ffeffebbbd70db483a3e71d1a5db /addressbook/gui/component/addressbook-storage.c
parentbecc84e5c51f8150b8db1fb28337fa55f7c14caf (diff)
downloadgsoc2013-evolution-7d53a155c8dcf9e232edcb3c70df6584713e1076.tar
gsoc2013-evolution-7d53a155c8dcf9e232edcb3c70df6584713e1076.tar.gz
gsoc2013-evolution-7d53a155c8dcf9e232edcb3c70df6584713e1076.tar.bz2
gsoc2013-evolution-7d53a155c8dcf9e232edcb3c70df6584713e1076.tar.lz
gsoc2013-evolution-7d53a155c8dcf9e232edcb3c70df6584713e1076.tar.xz
gsoc2013-evolution-7d53a155c8dcf9e232edcb3c70df6584713e1076.tar.zst
gsoc2013-evolution-7d53a155c8dcf9e232edcb3c70df6584713e1076.zip
push_in = FALSE, no clue why... :) (_arrow_pressed): call
2002-11-12 Chris Toshok <toshok@ximian.com> * 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
Diffstat (limited to 'addressbook/gui/component/addressbook-storage.c')
-rw-r--r--addressbook/gui/component/addressbook-storage.c13
1 files changed, 13 insertions, 0 deletions
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);