diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2005-07-29 13:46:30 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2005-07-29 13:46:30 +0800 |
commit | 46e7ac7b716ae60de5988de2c455b0fb37c51339 (patch) | |
tree | 5027f8596a5b0fd0bf9b609b104be1b9a6e41a42 | |
parent | dbedd2f1d19e0c8e9b8565a11eefea10233db2af (diff) | |
download | gsoc2013-evolution-46e7ac7b716ae60de5988de2c455b0fb37c51339.tar gsoc2013-evolution-46e7ac7b716ae60de5988de2c455b0fb37c51339.tar.gz gsoc2013-evolution-46e7ac7b716ae60de5988de2c455b0fb37c51339.tar.bz2 gsoc2013-evolution-46e7ac7b716ae60de5988de2c455b0fb37c51339.tar.lz gsoc2013-evolution-46e7ac7b716ae60de5988de2c455b0fb37c51339.tar.xz gsoc2013-evolution-46e7ac7b716ae60de5988de2c455b0fb37c51339.tar.zst gsoc2013-evolution-46e7ac7b716ae60de5988de2c455b0fb37c51339.zip |
Fixes the bug #269870. Commiting Michael Meeks patch.
2005-07-29 Srinivasa Ragavan <sragavan@novell.com>
* tools/evolution-addressbook-export-list-cards.c: (output_n_cards_file)
Fixes the bug #269870. Commiting Michael Meeks patch.
svn path=/trunk/; revision=29928
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/tools/evolution-addressbook-export-list-cards.c | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 18ef942ed5..b9604e32b2 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,10 @@ 2005-07-29 Srinivasa Ragavan <sragavan@novell.com> + * tools/evolution-addressbook-export-list-cards.c: (output_n_cards_file) + Fixes the bug #269870. Commiting Michael Meeks patch. + +2005-07-29 Srinivasa Ragavan <sragavan@novell.com> + * gui/contact-editor/e-contact-editor.c: (extract_simple_field) (image_selected) Fixed in a genereic way, the resizing of contact photos diff --git a/addressbook/tools/evolution-addressbook-export-list-cards.c b/addressbook/tools/evolution-addressbook-export-list-cards.c index 88923fd244..758ed42eb2 100644 --- a/addressbook/tools/evolution-addressbook-export-list-cards.c +++ b/addressbook/tools/evolution-addressbook-export-list-cards.c @@ -590,7 +590,12 @@ output_n_cards_file (FILE * outputfile, GList *contacts, int size, int begin_no, g_free (vcard); } } else if (format == CARD_FORMAT_CSV) { - gchar *csv_fields_name = e_contact_csv_get_header_line (pre_defined_fields); + gchar *csv_fields_name; + + if (!pre_defined_fields) + set_pre_defined_field (&pre_defined_fields); + + csv_fields_name = e_contact_csv_get_header_line (pre_defined_fields); fprintf (outputfile, "%s\n", csv_fields_name); g_free (csv_fields_name); |