diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-05-15 02:21:03 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-05-15 02:21:03 +0800 |
commit | bfe4d349ad7c9102f4234f13a641b17e28bf69e7 (patch) | |
tree | fdafa50648ee39ed81786cec531ef355e37d549b /mail | |
parent | a1ce3904ce91366e1bf5ecc57f8280b9440a0cd9 (diff) | |
download | gsoc2013-evolution-bfe4d349ad7c9102f4234f13a641b17e28bf69e7.tar gsoc2013-evolution-bfe4d349ad7c9102f4234f13a641b17e28bf69e7.tar.gz gsoc2013-evolution-bfe4d349ad7c9102f4234f13a641b17e28bf69e7.tar.bz2 gsoc2013-evolution-bfe4d349ad7c9102f4234f13a641b17e28bf69e7.tar.lz gsoc2013-evolution-bfe4d349ad7c9102f4234f13a641b17e28bf69e7.tar.xz gsoc2013-evolution-bfe4d349ad7c9102f4234f13a641b17e28bf69e7.tar.zst gsoc2013-evolution-bfe4d349ad7c9102f4234f13a641b17e28bf69e7.zip |
(config_write_style): fflush the gtkrc file.
svn path=/trunk/; revision=25909
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 1 | ||||
-rw-r--r-- | mail/mail-config.c | 9 |
2 files changed, 6 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 862289fa6a..92618fd407 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -6,6 +6,7 @@ (config_write_style): Reuse config->gtkrc string instead of constructing the path again. (mail_config_write_on_exit): Free the gtkrc path. + (config_write_style): fflush the gtkrc file. * em-popup.c (emp_popup_resend): Updated the #if 0'd code for the API chanegs made to em_utils_edit_messages(). diff --git a/mail/mail-config.c b/mail/mail-config.c index 933aebb9e9..c16b44b4d3 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -278,16 +278,17 @@ config_write_style (void) " font_name = \"%s\"\n", fix_font, var_font); } - fprintf (rc, "}\n\n"); + 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 \"*.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 (); + fflush (rc); + fclose (rc); + + gtk_rc_reparse_all (); } static void |