aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-11-13 17:53:36 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-11-13 17:53:36 +0800
commit02237b6f44db7e1169073bfd302a4cda41f613db (patch)
tree6a0b9df411ab0b6316bf8f5888040a7f0e43c388 /mail/mail-callbacks.c
parent836029eadc5ee33f809e25fca030d172497c81fc (diff)
downloadgsoc2013-evolution-02237b6f44db7e1169073bfd302a4cda41f613db.tar.gz
gsoc2013-evolution-02237b6f44db7e1169073bfd302a4cda41f613db.tar.zst
gsoc2013-evolution-02237b6f44db7e1169073bfd302a4cda41f613db.zip
destroy->weak ref. (owner_set_cb): shell client changes.
2002-11-13 Not Zed <NotZed@Ximian.com> * component-factory.c (owner_set_cb): destroy->weak ref. (owner_set_cb): shell client changes. * mail-signature-editor.c (mail_signature_editor): bonobo api changes. * mail-local.c (save_metainfo): go back to using xmlSaveFile. * Makefile.am: Removed libevolution-importer from mail. svn path=/trunk/; revision=18736
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index a768550f17..9b89524424 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -3007,7 +3007,9 @@ footer_print_cb (GtkHTML *html, GnomePrintContext *print_context,
if (info->local_font) {
gchar *text = g_strdup_printf (_("Page %d of %d"), info->page_num, info->pages);
- gdouble tw = gnome_font_get_width_string (info->local_font, text);
+ /*gdouble tw = gnome_font_get_width_string (info->local_font, text);*/
+ /* FIXME: work out how to measure this */
+ gdouble tw = strlen(text) * 8;
gnome_print_gsave (print_context);
gnome_print_newpath (print_context);