[Xfce4-commits] <midori:master> Install form history always-load only if should_init

Christian Dywan noreply at xfce.org
Mon Oct 17 02:50:04 CEST 2011


Updating branch refs/heads/master
         to 85b1b8509aea707270a4abf345e696f0ec64e445 (commit)
       from 756830f6e4af8a626bbe479e3b31f1bd2cbeac3c (commit)

commit 85b1b8509aea707270a4abf345e696f0ec64e445
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sat Oct 15 18:43:19 2011 +0200

    Install form history always-load only if should_init

 extensions/formhistory.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/extensions/formhistory.c b/extensions/formhistory.c
index 1686a85..b74e350 100644
--- a/extensions/formhistory.c
+++ b/extensions/formhistory.c
@@ -590,12 +590,11 @@ extension_init (void)
         "authors", "Alexander V. Butenko <a.butenka at 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",


More information about the Xfce4-commits mailing list