]> spindle.queued.net Git - midori/commitdiff
Install form history always-load only if should_init
authorChristian Dywan <christian@twotoasts.de>
Sat, 15 Oct 2011 16:43:19 +0000 (18:43 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 17 Oct 2011 00:47:55 +0000 (02:47 +0200)
extensions/formhistory.c

index 1686a85221e3e1d06856454773be960d16930bc2..b74e350a5109c1a22d518e9db838914da6b4f8a0 100644 (file)
@@ -590,12 +590,11 @@ extension_init (void)
         "authors", "Alexander V. Butenko <a.butenka@gmail.com>",
         NULL);
 
-    midori_extension_install_boolean (extension, "always-load", TRUE);
-
     g_free (desc);
 
     if (should_init)
     {
+        midori_extension_install_boolean (extension, "always-load", TRUE);
         g_signal_connect (extension, "activate",
             G_CALLBACK (formhistory_activate_cb), NULL);
         g_signal_connect (extension, "open-preferences",