aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/printing/e-contact-print.c14
2 files changed, 17 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index cef06f0f64..126fd4bb1b 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-21 Radek Doulik <rodo@ximian.com>
+
+ * printing/e-contact-print.c (e_contact_print_button): don't use
+ gnome_print_multipage_new_from_sizes and add warning
+
2003-01-14 Ettore Perazzoli <ettore@ximian.com>
* gui/widgets/e-addressbook-util.c
diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c
index 446162f778..299297f31a 100644
--- a/addressbook/printing/e-contact-print.c
+++ b/addressbook/printing/e-contact-print.c
@@ -1042,11 +1042,15 @@ e_contact_print_button(GnomeDialog *dialog, gint button, gpointer data)
ctxt->letter_heading_font = gnome_font_find (gnome_font_get_name(ctxt->style->headings_font), gnome_font_get_size (ctxt->style->headings_font) * 1.5);
ctxt->letter_tab_font = gnome_font_find (gnome_font_get_name(ctxt->style->headings_font), font_size);
+ ctxt->pc = pc;
+#warning FIXME gnome_print_multipage_new_from_sizes
+#if 0
ctxt->pc = GNOME_PRINT_CONTEXT(gnome_print_multipage_new_from_sizes(pc,
72 * style->paper_width,
72 * style->paper_height,
72 * style->page_width,
72 * style->page_height));
+#endif
ctxt->book = book;
ctxt->query = query;
@@ -1078,12 +1082,15 @@ e_contact_print_button(GnomeDialog *dialog, gint button, gpointer data)
ctxt->letter_heading_font = gnome_font_find (gnome_font_get_name(ctxt->style->headings_font), gnome_font_get_size (ctxt->style->headings_font) * 1.5);
ctxt->letter_tab_font = gnome_font_find (gnome_font_get_name(ctxt->style->headings_font), font_size);
+ ctxt->pc = pc;
+#warning FIXME gnome_print_multipage_new_from_sizes
+#if 0
ctxt->pc = GNOME_PRINT_CONTEXT(gnome_print_multipage_new_from_sizes(pc,
72 * style->paper_width,
72 * style->paper_height,
72 * style->page_width,
72 * style->page_height));
-
+#endif
ctxt->book = book;
ctxt->query = g_strdup(query);
if (uses_book) {
@@ -1159,12 +1166,15 @@ e_contact_print_preview(EBook *book, char *query)
ctxt->letter_heading_font = gnome_font_find (gnome_font_get_name(ctxt->style->headings_font), gnome_font_get_size (ctxt->style->headings_font) * 1.5);
ctxt->letter_tab_font = gnome_font_find (gnome_font_get_name(ctxt->style->headings_font), font_size);
+ ctxt->pc = pc;
+#warning FIXME gnome_print_multipage_new_from_sizes
+#if 0
ctxt->pc = GNOME_PRINT_CONTEXT(gnome_print_multipage_new_from_sizes(pc,
72 * style->paper_width,
72 * style->paper_height,
72 * style->page_width,
72 * style->page_height));
-
+#endif
ctxt->book = book;
ctxt->query = g_strdup(query);
ctxt->cards = NULL;