Bug 619345 - GtkHTML color settings not being honored
Includes some minor code cleanups related to this investigation.
This commit is contained in:
@ -64,7 +64,6 @@ struct _EMFormatQuote {
|
||||
guint32 flags;
|
||||
|
||||
guint32 text_html_flags;
|
||||
guint32 citation_colour;
|
||||
};
|
||||
|
||||
struct _EMFormatQuoteClass {
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -229,13 +225,6 @@ gconf_int_value_changed (GConfClient *client,
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
mail_config_clear (void)
|
||||
{
|
||||
if (!config)
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
mail_config_write (void)
|
||||
{
|
||||
@ -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 */
|
||||
|
||||
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user