]> spindle.queued.net Git - midori/commitdiff
Add local storage, database and offline app cache to preferences
authorChristian Dywan <christian@twotoasts.de>
Sat, 30 Jan 2010 16:26:26 +0000 (17:26 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sat, 30 Jan 2010 16:26:26 +0000 (17:26 +0100)
midori/midori-preferences.c

index fe71743ef4aed7602db444a316350472031c6ef6..ed769fc72737f553db8d6c8ef6297849654953eb 100644 (file)
@@ -514,6 +514,13 @@ midori_preferences_set_settings (MidoriPreferences* preferences,
     SPANNED_ADD (entry);
     label = gtk_label_new (_("days"));
     SPANNED_ADD (label);
+    #if WEBKIT_CHECK_VERSION (1, 1, 8)
+    INDENTED_ADD (katze_property_proxy (settings, "enable-html5-database", NULL));
+    SPANNED_ADD (katze_property_proxy (settings, "enable-html5-local-storage", NULL));
+    #endif
+    #if WEBKIT_CHECK_VERSION (1, 1, 13)
+    INDENTED_ADD (katze_property_proxy (settings, "enable-offline-web-application-cache", NULL));
+    #endif
     FRAME_NEW (_("History"));
     button = katze_property_label (settings, "maximum-history-age");
     INDENTED_ADD (button);