[Libreoffice-commits] .: Branch 'LiboExtensionCenter' - 2 commits - LiboExtensionWebsite/am.LiboExtensionCenter

Andreas Mantke andreasma at kemper.freedesktop.org
Tue Apr 26 12:18:22 PDT 2011


 LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/config.py      |    2 
 LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/config.pyc     |binary
 LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/configure.zcml |   23 +++-------
 LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/profiles.zcml  |   15 ++++++
 4 files changed, 24 insertions(+), 16 deletions(-)

New commits:
commit 5d2cd6f70c3840ad21fef74af2008e7e2acb3459
Author: Andreas Mantke <maand at gmx.de>
Date:   Tue Apr 26 21:17:54 2011 +0200

    updating configuration and moving some parts to profiles.zcml

diff --git a/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/config.py b/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/config.py
index 357f0e1..f4a1adc 100644
--- a/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/config.py
+++ b/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/config.py
@@ -17,7 +17,7 @@ USE_EXTERNAL_STORAGE = True
 # the ExternalStorage config (default: EXTERNAL_STORAGE_BASE_PATH)
 EXTERNAL_STORAGE_PATH = 'files'
 
-PROJECTNAME = 'LibExtensionCenter'
+PROJECTNAME = 'LiboExtensionCenter'
 SKINS_DIR = 'skins'
 
 HARD_DEPS = ('AddRemoveWidget', 'ArchAddOn', 'DataGridField',)
diff --git a/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/config.pyc b/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/config.pyc
index 2a101b8..14bb2b2 100644
Binary files a/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/config.pyc and b/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/config.pyc differ
diff --git a/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/configure.zcml b/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/configure.zcml
index c5f8657..7ec2018 100644
--- a/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/configure.zcml
+++ b/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/configure.zcml
@@ -6,31 +6,24 @@
     xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
     i18n_domain="am.LiboExtensionCenter">
 
-  <five:registerPackage package="." initialize=".initialize" />
+  
 
-  <genericsetup:registerProfile
-      name="default"
-      title="am.LiboExtensionCenter"
-      directory="profiles/default"
-      description="Installs the am.LiboExtensionCenter package"
-      provides="Products.GenericSetup.interfaces.EXTENSION"
-      />
+  
   <!-- -*- extra stuff goes here -*- -->
   
+  <include package=".namespace" />
+  <include package=".browser" />
+  <include package=".storage" />
+  <include package=".events" file="configure.zcml" />
+  <include file="profiles.zcml"/>
+  
   <!-- make sure that Libo Extension Centers can have content rules assigned to them -->
   <class class=".content.root.LiboExtensionCenter"
             zcml:condition="installed contentrules">
     <implements interface="plone.contentrules.engine.interfaces.IRuleAssignable" />
   </class>
 
-  <include package=".namespace" />
-  <include package=".browser" />
-  <include package=".storage" />
-  <include package=".events" file="configure.zcml" />
- 
-  
   
-
   <!-- Avoid deprecation warnings for manage_afterAdd and friends that
        only show up because some base classes that we inherit from use
        them. -->
commit 2f5a0a5b899a3dd5370dfec77f0d87f6a4daf17c
Author: Andreas Mantke <maand at gmx.de>
Date:   Tue Apr 26 21:16:55 2011 +0200

    adding a profiles.zcml for changing the configuration

diff --git a/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/profiles.zcml b/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/profiles.zcml
new file mode 100644
index 0000000..4423710
--- /dev/null
+++ b/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/profiles.zcml
@@ -0,0 +1,15 @@
+<configure xmlns="http://namespaces.zope.org/zope"
+           xmlns:gs="http://namespaces.zope.org/genericsetup"
+           i18n_domain="plonesoftwarecenter"
+           xmlns:zcml="http://namespaces.zope.org/zcml">
+   
+   <gs:registerProfile
+      name="default"
+      title="LiboExtensionCenter"
+      directory="profiles/default"
+      description="Installs the am.LiboExtensionCenter package"
+      provides="Products.GenericSetup.interfaces.EXTENSION"
+      />
+
+</configure>
+


More information about the Libreoffice-commits mailing list