[evolution-patches] patch for addressbook #42620
- From: Chris Toshok <toshok ximian com>
- To: evolution-patches ximian com
- Subject: [evolution-patches] patch for addressbook #42620
- Date: 12 May 2003 02:49:14 -0700
we don't parse the address from the text field unless we absolutely have
to (when the user types into the textview), so we need to deal with the
case where it's NULL (hasn't been filled in yet.)
Chris
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1401
diff -u -r1.1401 ChangeLog
--- ChangeLog 12 May 2003 08:54:39 -0000 1.1401
+++ ChangeLog 12 May 2003 09:47:21 -0000
@@ -1,3 +1,9 @@
+n2003-05-12 Chris Toshok <toshok ximian com>
+
+ * gui/contact-editor/e-contact-editor.c (address_mailing_changed):
+ handle the case where we haven't filled in the address yet. fixes
+ #42620.
+
2003-05-12 Sean Gao <sean gao sun com>
* gui/contact-list-editor/e-contact-list-editor.c
Index: gui/contact-editor/e-contact-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/contact-editor/e-contact-editor.c,v
retrieving revision 1.147
diff -u -r1.147 e-contact-editor.c
--- gui/contact-editor/e-contact-editor.c 18 Apr 2003 17:44:15 -0000 1.147
+++ gui/contact-editor/e-contact-editor.c 12 May 2003 09:47:21 -0000
@@ -367,6 +367,9 @@
address = e_card_delivery_address_copy (curr);
+ if (!address)
+ address = e_card_delivery_address_new ();
+
if (mailing_address)
address->flags |= E_CARD_ADDR_DEFAULT;
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]