aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/component/addressbook.c13
2 files changed, 12 insertions, 6 deletions
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 <clahey@helixcode.com>
+
+ * gui/component/addressbook.c: Use the right argument name to turn
+ on grid lines.
+
2000-08-26 JP Rosevear <jpr@helixcode.com>
* 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);