[Xfce4-commits] <midori:master> Fix accidental negation of npwrapper. path check

Christian Dywan noreply at xfce.org
Tue Feb 26 20:14:02 CET 2013


Updating branch refs/heads/master
         to 6b3fa5276dae4934eac08f001b8e1557a06d5772 (commit)
       from 5d09314859ccbd63d0d686c844f135e965791160 (commit)

commit 6b3fa5276dae4934eac08f001b8e1557a06d5772
Author: Christian Dywan <christian at twotoasts.de>
Date:   Tue Feb 26 19:31:29 2013 +0100

    Fix accidental negation of npwrapper. path check

 extensions/nsplugin-manager.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extensions/nsplugin-manager.vala b/extensions/nsplugin-manager.vala
index fb28d04..27b1d13 100644
--- a/extensions/nsplugin-manager.vala
+++ b/extensions/nsplugin-manager.vala
@@ -62,7 +62,7 @@ public Katze.Array? extension_init () {
     SList<WebKit.WebPlugin> plugins = pdb.get_plugins ();
 
     foreach (WebKit.WebPlugin plugin in plugins) {
-        if (plugin.get_path () == null || !("npwrapper." in plugin.get_path ()) || "plugins-wrapped" in plugin.get_path())
+        if (plugin.get_path () == null || "npwrapper." in plugin.get_path () || "plugins-wrapped" in plugin.get_path())
             continue;
         extensions.add_item (new NSPlugins.Extension (plugin));
     }


More information about the Xfce4-commits mailing list