aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-09-07 14:02:37 +0800
committerXan Lopez <xan@gnome.org>2009-09-07 14:02:37 +0800
commit112683b3b5fcadce5ce14a8db6314a3c079ee58c (patch)
tree3947484511b1b2215dfeb4058f307c076a44ee68
parentf3366f19eb5d7fe77d843742a9db39d1fb53e36b (diff)
downloadgsoc2013-epiphany-112683b3b5fcadce5ce14a8db6314a3c079ee58c.tar
gsoc2013-epiphany-112683b3b5fcadce5ce14a8db6314a3c079ee58c.tar.gz
gsoc2013-epiphany-112683b3b5fcadce5ce14a8db6314a3c079ee58c.tar.bz2
gsoc2013-epiphany-112683b3b5fcadce5ce14a8db6314a3c079ee58c.tar.lz
gsoc2013-epiphany-112683b3b5fcadce5ce14a8db6314a3c079ee58c.tar.xz
gsoc2013-epiphany-112683b3b5fcadce5ce14a8db6314a3c079ee58c.tar.zst
gsoc2013-epiphany-112683b3b5fcadce5ce14a8db6314a3c079ee58c.zip
ephy-embed-prefs.c: do not auto-shrink images
That's what ephy/gecko used to do (and I don't like it).
-rw-r--r--embed/ephy-embed-prefs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/ephy-embed-prefs.c b/embed/ephy-embed-prefs.c
index 9a04338a6..b29a55a02 100644
--- a/embed/ephy-embed-prefs.c
+++ b/embed/ephy-embed-prefs.c
@@ -247,6 +247,10 @@ ephy_embed_prefs_init (void)
settings = webkit_web_settings_new ();
+ /* Hardcoded settings */
+ g_object_set (settings, "auto-shrink-images", FALSE, NULL);
+
+ /* Connections */
connections = g_malloc (sizeof (guint) * G_N_ELEMENTS (webkit_pref_entries));
for (i = 0; i < G_N_ELEMENTS (webkit_pref_entries); i++) {