diff options
author | Michael Meeks <michael@helixcode.com> | 2000-07-26 05:14:58 +0800 |
---|---|---|
committer | Michael Meeks <mmeeks@src.gnome.org> | 2000-07-26 05:14:58 +0800 |
commit | fc661fb23aee42e87370886a17ed9373388d7493 (patch) | |
tree | 87c42613e351c740c2240d03d703d98427d76d2f /addressbook | |
parent | 120687c8a8b3b7df579f2dcad8badefb67e4d30b (diff) | |
download | gsoc2013-evolution-fc661fb23aee42e87370886a17ed9373388d7493.tar gsoc2013-evolution-fc661fb23aee42e87370886a17ed9373388d7493.tar.gz gsoc2013-evolution-fc661fb23aee42e87370886a17ed9373388d7493.tar.bz2 gsoc2013-evolution-fc661fb23aee42e87370886a17ed9373388d7493.tar.lz gsoc2013-evolution-fc661fb23aee42e87370886a17ed9373388d7493.tar.xz gsoc2013-evolution-fc661fb23aee42e87370886a17ed9373388d7493.tar.zst gsoc2013-evolution-fc661fb23aee42e87370886a17ed9373388d7493.zip |
add textual exception printout. (set_editor_text): close pre tags & check
2000-07-25 Michael Meeks <michael@helixcode.com>
* e-msg-composer.c (get_text): add textual exception printout.
(set_editor_text): close pre tags & check for pre-existing
sig separator.
2000-07-25 Michael Meeks <michael@helixcode.com>
* mail-config.c (create_identity_page): set default signature to
~/.signature
2000-07-25 Michael Meeks <michael@helixcode.com>
* backend/ebook/load-pine-addressbook.c (book_open_cb): check we
opened ok.
svn path=/trunk/; revision=4330
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/Makefile.am | 2 | ||||
-rw-r--r-- | addressbook/backend/ebook/load-pine-addressbook.c | 6 |
3 files changed, 12 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 553ba6b3ac..6c5f6006fd 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2000-07-25 Michael Meeks <michael@helixcode.com> + + * backend/ebook/load-pine-addressbook.c (book_open_cb): check we + opened ok. + 2000-07-25 Seth Alves <alves@hungry.com> * ename/Makefile.am (libename_static_la_LDFLAGS): build static diff --git a/addressbook/Makefile.am b/addressbook/Makefile.am index 92b5fe5607..0b429e62f3 100644 --- a/addressbook/Makefile.am +++ b/addressbook/Makefile.am @@ -1,2 +1,2 @@ SUBDIRS = \ - ename backend printing contact-editor gui conduit + ename backend printing contact-editor gui diff --git a/addressbook/backend/ebook/load-pine-addressbook.c b/addressbook/backend/ebook/load-pine-addressbook.c index 1bf85cb1a6..ee0d8c1ac3 100644 --- a/addressbook/backend/ebook/load-pine-addressbook.c +++ b/addressbook/backend/ebook/load-pine-addressbook.c @@ -56,6 +56,12 @@ book_open_cb (EBook *book, EBookStatus status, gpointer closure) { FILE *fp = fopen (".addressbook", "r"); char line[1024]; + + if (!fp) { + g_warning ("Can't find .addressbook"); + return; + } + while(fgets(line, 1024, fp)) { int length = strlen(line); char **strings; |