[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/runtime/plasma/scriptengines/javascript/plasmoid
From:       Marco Martin <notmart () gmail ! com>
Date:       2010-12-08 22:45:45
Message-ID: 20101208224545.77BAFAC8A5 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1204751 by mart:

deactivate the internal import directory in a (futile?) attempt to prevent binary \
libraries into /share


 M  +1 -1      declarativeappletscript.cpp  


--- trunk/KDE/kdebase/runtime/plasma/scriptengines/javascript/plasmoid/declarativeappletscript.cpp \
#1204750:1204751 @@ -84,7 +84,7 @@
 
     //make possible to import extensions from the package
     //FIXME: probably to be removed, would make possible to use native code from \
                within the package :/
-    m_declarativeWidget->engine()->addImportPath(package()->path()+"/contents/imports");
 +    //m_declarativeWidget->engine()->addImportPath(package()->path()+"/contents/imports");
  
     //use our own custom network access manager that will acces Plasma packages and \
to manage security (i.e. deny access to remote stuff when the proper extension isn't \
                enabled
     m_declarativeWidget->engine()->setNetworkAccessManagerFactory(new \
PackageAccessManagerFactory(package(), &m_auth));


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic