[evolution] Bug 619345 - GtkHTML color settings not being honored
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 619345 - GtkHTML color settings not being honored
- Date: Sun, 30 May 2010 03:52:44 +0000 (UTC)
commit f8626b2845d8abb07cbe8be08ec600f8d7cab4ef
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat May 29 23:39:55 2010 -0400
Bug 619345 - GtkHTML color settings not being honored
Includes some minor code cleanups related to this investigation.
em-format/em-format-quote.h | 1 -
mail/mail-config.c | 15 +--------------
mail/mail-config.h | 1 -
3 files changed, 1 insertions(+), 16 deletions(-)
---
diff --git a/em-format/em-format-quote.h b/em-format/em-format-quote.h
index 100e59d..5ea841c 100644
--- a/em-format/em-format-quote.h
+++ b/em-format/em-format-quote.h
@@ -64,7 +64,6 @@ struct _EMFormatQuote {
guint32 flags;
guint32 text_html_flags;
- guint32 citation_colour;
};
struct _EMFormatQuoteClass {
diff --git a/mail/mail-config.c b/mail/mail-config.c
index a9f1870..ab58ce8 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -118,11 +118,7 @@ config_write_style (void)
fprintf (rc, "}\n\n");
- fprintf (rc, "widget \"*.EMFolderView.*.GtkHTML\" style \"evolution-mail-custom-fonts\"\n");
- fprintf (rc, "widget \"*.EMFolderBrowser.*.GtkHTML\" style \"evolution-mail-custom-fonts\"\n");
- fprintf (rc, "widget \"*.EMMessageBrowser.*.GtkHTML\" style \"evolution-mail-custom-fonts\"\n");
- fprintf (rc, "widget \"EMsgComposer.*.GtkHTML\" style \"evolution-mail-custom-fonts\"\n");
- fprintf (rc, "widget \"*.EvolutionMailPrintHTMLWidget\" style \"evolution-mail-custom-fonts\"\n");
+ fprintf (rc, "class \"EWebView\" style \"evolution-mail-custom-fonts\"\n");
fflush (rc);
fclose (rc);
@@ -230,13 +226,6 @@ gconf_int_value_changed (GConfClient *client,
}
void
-mail_config_clear (void)
-{
- if (!config)
- return;
-}
-
-void
mail_config_write (void)
{
EAccountList *account_list;
@@ -620,8 +609,6 @@ mail_config_init (void)
mail_session_get_config_dir (),
"gtkrc-mail-fonts", NULL);
- mail_config_clear ();
-
gtk_rc_parse (config->gtkrc);
/* Composer Configuration */
diff --git a/mail/mail-config.h b/mail/mail-config.h
index 65dd861..4b67fbd 100644
--- a/mail/mail-config.h
+++ b/mail/mail-config.h
@@ -68,7 +68,6 @@ typedef enum {
/* Configuration */
void mail_config_init (void);
-void mail_config_clear (void);
void mail_config_write (void);
GConfClient *mail_config_get_gconf_client (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]