diff options
author | Jon Trowbridge <trow@ximian.com> | 2001-10-21 03:58:29 +0800 |
---|---|---|
committer | Jon Trowbridge <trow@src.gnome.org> | 2001-10-21 03:58:29 +0800 |
commit | 603c0228de30416b3c530a8d1eaeb6fa03dcba55 (patch) | |
tree | 670773e02c7c6ec19bc207e60c2de5705e5e5458 /addressbook/gui/widgets | |
parent | f9f86c3ee2ffdda05bcc06c997710e9af8218dbf (diff) | |
download | gsoc2013-evolution-603c0228de30416b3c530a8d1eaeb6fa03dcba55.tar.gz gsoc2013-evolution-603c0228de30416b3c530a8d1eaeb6fa03dcba55.tar.zst gsoc2013-evolution-603c0228de30416b3c530a8d1eaeb6fa03dcba55.zip |
Filter out empty destinations. (also Bug #13036)
2001-10-20 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-destination.c (e_destination_importv): Filter
out empty destinations. (also Bug #13036)
* printing/e-contact-print.c (e_contact_build_style): Use
gnome_font_new_closest; if gnome_font_new fails and returns NULL,
our spacing gets all messed up. (Bug #10785)
* gui/widgets/e-addressbook-view.c (e_addressbook_view_can_print):
Allow printing if there are any cards in our view. The selection
has nothing to do with it.
* backend/ebook/e-destination.c (e_destination_is_empty): Check
for strings that contain non-whitespace, rather than just looking
for a non-zero first character. (Bug #13036)
svn path=/trunk/; revision=13826
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 3280619f13..5142d99f2d 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -1521,7 +1521,7 @@ e_addressbook_view_can_create (EAddressbookView *view) gboolean e_addressbook_view_can_print (EAddressbookView *view) { - return view ? e_addressbook_view_selection_nonempty (view) : FALSE; + return view && view->model ? e_addressbook_model_card_count (view->model) : FALSE; } gboolean |