[evolution] Make some settings changes in mail composer permanent



commit d6ded7a55037a3de863acc104ccc5cac382a7b71
Author: Milan Crha <mcrha redhat com>
Date:   Fri Apr 1 19:35:33 2016 +0200

    Make some settings changes in mail composer permanent
    
    It used to read options from the settings, but did not write
    any changes back, thus the next composer open the option changes
    were forgotten.

 modules/settings/e-settings-html-editor-view.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/modules/settings/e-settings-html-editor-view.c b/modules/settings/e-settings-html-editor-view.c
index c4cb99c..6367767 100644
--- a/modules/settings/e-settings-html-editor-view.c
+++ b/modules/settings/e-settings-html-editor-view.c
@@ -84,22 +84,22 @@ settings_html_editor_view_realize (GtkWidget *widget,
        g_settings_bind (
                settings, "composer-inline-spelling",
                widget, "inline-spelling",
-               G_SETTINGS_BIND_GET);
+               G_SETTINGS_BIND_DEFAULT);
 
        g_settings_bind (
                settings, "composer-magic-links",
                widget, "magic-links",
-               G_SETTINGS_BIND_GET);
+               G_SETTINGS_BIND_DEFAULT);
 
        g_settings_bind (
                settings, "composer-magic-smileys",
                widget, "magic-smileys",
-               G_SETTINGS_BIND_GET);
+               G_SETTINGS_BIND_DEFAULT);
 
        g_settings_bind (
                settings, "composer-unicode-smileys",
                widget, "unicode-smileys",
-               G_SETTINGS_BIND_GET);
+               G_SETTINGS_BIND_DEFAULT);
 
        settings_html_editor_view_load_style (extension);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]