aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2003-06-25 16:25:02 +0800
committerRadek Doulik <rodo@src.gnome.org>2003-06-25 16:25:02 +0800
commit279da13aab123edd9fbb794f99694694f4bf737e (patch)
treebab15a3629340ba4c782d4c147dc3d5b6d29cdfe
parent17c8fd95e525378804943fcf1c7fbb9a817a1794 (diff)
downloadgsoc2013-evolution-279da13aab123edd9fbb794f99694694f4bf737e.tar
gsoc2013-evolution-279da13aab123edd9fbb794f99694694f4bf737e.tar.gz
gsoc2013-evolution-279da13aab123edd9fbb794f99694694f4bf737e.tar.bz2
gsoc2013-evolution-279da13aab123edd9fbb794f99694694f4bf737e.tar.lz
gsoc2013-evolution-279da13aab123edd9fbb794f99694694f4bf737e.tar.xz
gsoc2013-evolution-279da13aab123edd9fbb794f99694694f4bf737e.tar.zst
gsoc2013-evolution-279da13aab123edd9fbb794f99694694f4bf737e.zip
add EvolutionMailPrintHTMLWidget style assignment
2003-06-23 Radek Doulik <rodo@ximian.com> * mail-config.c (config_write_style): add EvolutionMailPrintHTMLWidget style assignment * mail-callbacks.c (do_mail_print): set printing widget name svn path=/trunk/; revision=21527
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-callbacks.c1
-rw-r--r--mail/mail-config.c4
3 files changed, 10 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 578830aa7b..1ae2ec643c 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2003-06-23 Radek Doulik <rodo@ximian.com>
+
+ * mail-config.c (config_write_style): add
+ EvolutionMailPrintHTMLWidget style assignment
+
+ * mail-callbacks.c (do_mail_print): set printing widget name
+
2003-06-24 Radek Doulik <rodo@ximian.com>
* mail-composer-prefs.c: use spell preferences at new location
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 56c6109c85..50c0619a84 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -2913,6 +2913,7 @@ do_mail_print (FolderBrowser *fb, gboolean preview)
print_context = gnome_print_job_get_context (print_master);
html = GTK_HTML (gtk_html_new ());
+ gtk_widget_set_name (GTK_WIDGET (html), "EvolutionMailPrintHTMLWidget");
mail_display_initialize_gtkhtml (fb->mail_display, html);
/* Set our 'printing' flag to true and render. This causes us
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 428338f5ab..ea9122f1fb 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -523,10 +523,10 @@ config_write_style (void)
fprintf (rc, "widget \"*.MailDisplay.*.GtkHTML\" style \"evolution-mail-custom-fonts\"\n");
fprintf (rc, "widget \"*.FolderBrowser.*.GtkHTML\" style \"evolution-mail-custom-fonts\"\n");
fprintf (rc, "widget \"*.BonoboPlug.*.GtkHTML\" style \"evolution-mail-custom-fonts\"\n");
-
+ fprintf (rc, "widget \"*.EvolutionMailPrintHTMLWidget\" style \"evolution-mail-custom-fonts\"\n");
+
if (fclose (rc) == 0)
gtk_rc_reparse_all ();
-
}
static void