Install form history always-load only if should_init

This commit is contained in:
Christian Dywan 2011-10-15 18:43:19 +02:00
parent 756830f6e4
commit 85b1b8509a

View 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",