diff options
author | Radek Doulik <rodo@ximian.com> | 2004-05-21 01:40:46 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2004-05-21 01:40:46 +0800 |
commit | 510a8c28e84030f102c03bc14d422a174d9c01a5 (patch) | |
tree | 6be7fb12c5ce0df4254b6d5f0758d0d9c126656d /addressbook/printing | |
parent | 0af3cfe692993829b1ac0853d796d83cbad5e950 (diff) | |
download | gsoc2013-evolution-510a8c28e84030f102c03bc14d422a174d9c01a5.tar gsoc2013-evolution-510a8c28e84030f102c03bc14d422a174d9c01a5.tar.gz gsoc2013-evolution-510a8c28e84030f102c03bc14d422a174d9c01a5.tar.bz2 gsoc2013-evolution-510a8c28e84030f102c03bc14d422a174d9c01a5.tar.lz gsoc2013-evolution-510a8c28e84030f102c03bc14d422a174d9c01a5.tar.xz gsoc2013-evolution-510a8c28e84030f102c03bc14d422a174d9c01a5.tar.zst gsoc2013-evolution-510a8c28e84030f102c03bc14d422a174d9c01a5.zip |
finish pages printing by gnome_print_job_close call before showing preview
2004-05-20 Radek Doulik <rodo@ximian.com>
* printing/e-contact-print.c (complete_sequence): finish pages
printing by gnome_print_job_close call before showing preview or
calling gnome_print_job_print
See #54482
svn path=/trunk/; revision=26015
Diffstat (limited to 'addressbook/printing')
-rw-r--r-- | addressbook/printing/e-contact-print.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c index dbbb394a3b..485e427c62 100644 --- a/addressbook/printing/e-contact-print.c +++ b/addressbook/printing/e-contact-print.c @@ -565,6 +565,7 @@ complete_sequence(EBookView *book_view, EBookViewStatus status, EContactPrintCon e_contact_print_letter_tab(ctxt); gnome_print_showpage(ctxt->pc); gnome_print_context_close(ctxt->pc); + gnome_print_job_close(ctxt->master); g_free(ctxt->character); if (book_view) g_object_unref(book_view); @@ -923,6 +924,7 @@ e_contact_print_response(GtkWidget *dialog, gint response_id, gpointer data) complete_sequence(NULL, E_BOOK_VIEW_STATUS_OK, ctxt); } gtk_widget_destroy (dialog); + break; case GNOME_PRINT_DIALOG_RESPONSE_PREVIEW: config = gnome_print_dialog_get_config (GNOME_PRINT_DIALOG(dialog)); |