aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-08-29 05:35:01 +0800
committerChris Lahey <clahey@src.gnome.org>2000-08-29 05:35:01 +0800
commit80c17fd907217e9c43d79ce3b8dba0b485d3ce85 (patch)
treee661a1a98f6016a5b3c77b2f5507ab3db183e151 /addressbook/gui
parent2529bb621ec7aad929354c9b317dd3abc2926ede (diff)
downloadgsoc2013-evolution-80c17fd907217e9c43d79ce3b8dba0b485d3ce85.tar.gz
gsoc2013-evolution-80c17fd907217e9c43d79ce3b8dba0b485d3ce85.tar.zst
gsoc2013-evolution-80c17fd907217e9c43d79ce3b8dba0b485d3ce85.zip
Use the right argument name to turn on grid lines.
2000-08-28 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Use the right argument name to turn on grid lines. svn path=/trunk/; revision=5087
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/addressbook.c13
1 files changed, 7 insertions, 6 deletions
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);