[epiphany] ephy-embed-prefs.c: do not auto-shrink images



commit 112683b3b5fcadce5ce14a8db6314a3c079ee58c
Author: Xan Lopez <xan gnome org>
Date:   Mon Sep 7 09:02:37 2009 +0300

    ephy-embed-prefs.c: do not auto-shrink images
    
    That's what ephy/gecko used to do (and I don't like it).

 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 9a04338..b29a55a 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++) {



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