[epiphany] ephy-embed-prefs: Honor smooth scrolling setting



commit 0a18bf3d03cd78172dbcd87cb8755aeb395edce7
Author: Carlos Garcia Campos <cgarcia igalia com>
Date:   Mon Oct 8 18:13:03 2012 +0200

    ephy-embed-prefs: Honor smooth scrolling setting
    
    https://bugzilla.gnome.org/show_bug.cgi?id=679048

 embed/ephy-embed-prefs.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-embed-prefs.c b/embed/ephy-embed-prefs.c
index 10f5084..efcf20c 100644
--- a/embed/ephy-embed-prefs.c
+++ b/embed/ephy-embed-prefs.c
@@ -746,6 +746,10 @@ ephy_embed_prefs_init (void)
                    EPHY_PREFS_WEB_ENABLE_WEBAUDIO,
                    webkit_settings, "enable-webaudio",
                    G_SETTINGS_BIND_GET);
+  g_settings_bind (EPHY_SETTINGS_MAIN,
+                   EPHY_PREFS_ENABLE_SMOOTH_SCROLLING,
+                   webkit_settings, "enable-smooth-scrolling",
+                   G_SETTINGS_BIND_GET);
 }
 
 void



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