aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/printing/e-contact-print-envelope.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2005-01-22 05:05:13 +0800
committerJP Rosevear <jpr@src.gnome.org>2005-01-22 05:05:13 +0800
commitca1b5bd325a2054597548fda181de793aece23e3 (patch)
tree8e33d33aa8a799774ff6f5c984c601559bc344ac /addressbook/printing/e-contact-print-envelope.c
parent1963958705b84314e2d2ba785bcadec8caa904e9 (diff)
downloadgsoc2013-evolution-ca1b5bd325a2054597548fda181de793aece23e3.tar
gsoc2013-evolution-ca1b5bd325a2054597548fda181de793aece23e3.tar.gz
gsoc2013-evolution-ca1b5bd325a2054597548fda181de793aece23e3.tar.bz2
gsoc2013-evolution-ca1b5bd325a2054597548fda181de793aece23e3.tar.lz
gsoc2013-evolution-ca1b5bd325a2054597548fda181de793aece23e3.tar.xz
gsoc2013-evolution-ca1b5bd325a2054597548fda181de793aece23e3.tar.zst
gsoc2013-evolution-ca1b5bd325a2054597548fda181de793aece23e3.zip
Fixes #46404
2005-01-21 JP Rosevear <jpr@novell.com> Fixes #46404 * gui/widgets/e-addressbook-view.c (eab_view_print): just show the dialog, not show all (margin settings aren't supposed to be used); use e_print to get the dialog (eab_view_print_preview): use e_print config for previewing * printing/e-contact-print.c (e_contact_print_preview): get the e_print config for previewing (e_contact_print_contact_dialog_new): use e_print to get the print dialog * printing/e-contact-print-envelope.c (e_contact_print_envelope_dialog_new): use e_print to get the print dialog svn path=/trunk/; revision=28496
Diffstat (limited to 'addressbook/printing/e-contact-print-envelope.c')
-rw-r--r--addressbook/printing/e-contact-print-envelope.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/addressbook/printing/e-contact-print-envelope.c b/addressbook/printing/e-contact-print-envelope.c
index c7bd68163f..38532720fa 100644
--- a/addressbook/printing/e-contact-print-envelope.c
+++ b/addressbook/printing/e-contact-print-envelope.c
@@ -29,6 +29,7 @@
#include <libgnomeprint/gnome-print.h>
#include <libgnomeprint/gnome-print-job.h>
#include <libgnomeprintui/gnome-print-job-preview.h>
+#include <e-util/e-print.h>
#define ENVELOPE_HEIGHT (72.0 * 4.0)
#define ENVELOPE_WIDTH (72.0 * 9.5)
@@ -209,7 +210,7 @@ e_contact_print_envelope_dialog_new(EContact *contact)
{
GtkWidget *dialog;
- dialog = gnome_print_dialog_new(NULL, _("Print envelope"), GNOME_PRINT_DIALOG_COPIES);
+ dialog = e_print_get_dialog (_("Print envelope"), GNOME_PRINT_DIALOG_COPIES);
contact = e_contact_duplicate(contact);
g_object_set_data(G_OBJECT(dialog), "contact", contact);
@@ -230,7 +231,7 @@ e_contact_print_envelope_list_dialog_new(GList *list)
if (list == NULL)
return NULL;
- dialog = gnome_print_dialog_new(NULL, _("Print envelope"), GNOME_PRINT_DIALOG_COPIES);
+ dialog = e_print_get_dialog(_("Print envelope"), GNOME_PRINT_DIALOG_COPIES);
contact = e_contact_duplicate(list->data);
g_object_set_data(G_OBJECT(dialog), "contact", contact);