[evolution/gnome-3-20] Make some settings changes in mail composer permanent



commit 27c71616feac324050d4bbc89ca97a82aae9c2e6
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]