From 80c17fd907217e9c43d79ce3b8dba0b485d3ce85 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Mon, 28 Aug 2000 21:35:01 +0000 Subject: Use the right argument name to turn on grid lines. 2000-08-28 Christopher James Lahey * gui/component/addressbook.c: Use the right argument name to turn on grid lines. svn path=/trunk/; revision=5087 --- addressbook/ChangeLog | 5 +++++ addressbook/gui/component/addressbook.c | 13 +++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index f0ee75c2b5..6129900604 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2000-08-28 Christopher James Lahey + + * gui/component/addressbook.c: Use the right argument name to turn + on grid lines. + 2000-08-26 JP Rosevear * gui/minicard/Makefile.am: Comment out minicard-view-test diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c index 54ae5bcdad..7037d41ee2 100644 --- a/addressbook/gui/component/addressbook.c +++ b/addressbook/gui/component/addressbook.c @@ -353,12 +353,12 @@ e_contact_print_button(GnomeDialog *dialog, gint button, gpointer data) while (e_printable_data_left(printable)) { if (gnome_print_gsave(pc) == -1) /* FIXME */; - if (gnome_print_translate(pc, .5 * 72, .5 * 72) == -1) + if (gnome_print_translate(pc, 72, 72) == -1) /* FIXME */; e_printable_print_page(printable, pc, - 7.5 * 72, - 10.5 * 72, + 6.5 * 72, + 5 * 72, TRUE); if (gnome_print_grestore(pc) == -1) /* FIXME */; @@ -377,12 +377,12 @@ e_contact_print_button(GnomeDialog *dialog, gint button, gpointer data) while (e_printable_data_left(printable)) { if (gnome_print_gsave(pc) == -1) /* FIXME */; - if (gnome_print_translate(pc, .5 * 72, .5 * 72) == -1) + if (gnome_print_translate(pc, 72, 72) == -1) /* FIXME */; e_printable_print_page(printable, pc, - 7.5 * 72, - 10.5 * 72, + 6.5 * 72, + 9 * 72, TRUE); if (gnome_print_grestore(pc) == -1) /* FIXME */; @@ -1020,6 +1020,7 @@ create_table_view (AddressbookView *view, char *initial_query) gtk_object_set (GTK_OBJECT(view->table), "click_to_add_message", _("* Click here to add a contact *"), + "drawgrid", TRUE, NULL); gtk_box_pack_start(GTK_BOX(view->vbox), view->table, TRUE, TRUE, 0); -- cgit