summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authornecoro <>2007-07-20 07:19:27 +0000
committernecoro <>2007-07-20 07:19:27 +0000
commitd1a5c99708fa5e2fc0387e31ccb57f004d74f2fc (patch)
tree0441e1cec9d2881f939a017ba3e9ba2da9a2797e /plugins
parent0a8d3b8add548efbc44a67c3eb1223ff94aaffc5 (diff)
downloadportato-d1a5c99708fa5e2fc0387e31ccb57f004d74f2fc.tar.gz
portato-d1a5c99708fa5e2fc0387e31ccb57f004d74f2fc.tar.bz2
portato-d1a5c99708fa5e2fc0387e31ccb57f004d74f2fc.zip
new Plugin Scheme
Diffstat (limited to 'plugins')
-rw-r--r--plugins/etc_proposals.xml28
-rw-r--r--plugins/noroot.xml18
-rw-r--r--plugins/resume_loop.xml25
-rw-r--r--plugins/shutdown.xml19
4 files changed, 45 insertions, 45 deletions
diff --git a/plugins/etc_proposals.xml b/plugins/etc_proposals.xml
index 8686072..410ce4b 100644
--- a/plugins/etc_proposals.xml
+++ b/plugins/etc_proposals.xml
@@ -1,17 +1,19 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<plugin
- author="René 'Necoro' Neumann"
- name="Etc-proposals plugin">
+<?xml version="1.0" encoding="UTF-8" ?>
+<plugin xmlns="http://portato.sourceforge.net/plugin" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://portato.sourceforge.net/plugin http://portato.sourceforge.net/plugin.xsd">
+
+ <author>René 'Necoro' Neumann</author>
+ <name>Etc-proposals plugin</name>
+
<import>portato.plugins.etc_proposals</import>
- <hook
- hook = "after_emerge"
- call = "etc_prop">
- <connect type="after" />
- </hook>
+ <hooks>
+ <hook type = "after_emerge" call = "etc_prop">
+ <connect type="after" />
+ </hook>
+ </hooks>
+
+ <menu>
+ <item call="etc_prop_menu">Et_c-Proposals</item>
+ </menu>
- <menu
- label= "Et_c-Proposals"
- call = "etc_prop_menu"
- />
</plugin>
diff --git a/plugins/noroot.xml b/plugins/noroot.xml
index 7e744ef..850a039 100644
--- a/plugins/noroot.xml
+++ b/plugins/noroot.xml
@@ -1,12 +1,12 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<plugin
- author="René 'Necoro' Neumann"
- name="No Root">
+<?xml version="1.0" encoding="UTF-8" ?>
+<plugin xmlns="http://portato.sourceforge.net/plugin" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://portato.sourceforge.net/plugin http://portato.sourceforge.net/plugin.xsd">
+ <author>René 'Necoro' Neumann</author>
+ <name>No Root</name>
<import>portato.plugins.noroot</import>
- <hook
- hook = "am_i_root"
- call = "i_am_root">
- <connect type="override" />
- </hook>
+ <hooks>
+ <hook type = "am_i_root" call = "i_am_root">
+ <connect type="override" />
+ </hook>
+ </hooks>
</plugin>
diff --git a/plugins/resume_loop.xml b/plugins/resume_loop.xml
index 572ccfa..14575cd 100644
--- a/plugins/resume_loop.xml
+++ b/plugins/resume_loop.xml
@@ -1,22 +1,21 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<plugin
- author="René 'Necoro' Neumann"
- name="Emerge Resume Loop">
+<plugin xmlns="http://portato.sourceforge.net/plugin" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://portato.sourceforge.net/plugin http://portato.sourceforge.net/plugin.xsd">
+ <author>René 'Necoro' Neumann</author>
+ <name>Emerge Resume Loop</name>
<import>portato.plugins.resume_loop</import>
- <hook
- hook = "emerge"
- call = "set_console">
- <connect/>
- </hook>
+ <hooks>
+ <hook type="emerge" call="set_console">
+ <connect />
+ </hook>
- <hook
- hook = "after_emerge"
- call = "resume_loop">
- <connect type="before">*</connect>
- </hook>
+ <hook type="after_emerge" call="resume_loop">
+ <connect type="before">*</connect>
+ </hook>
+ </hooks>
<options>
<option>disabled</option>
</options>
+
</plugin>
diff --git a/plugins/shutdown.xml b/plugins/shutdown.xml
index 586b57d..75323b1 100644
--- a/plugins/shutdown.xml
+++ b/plugins/shutdown.xml
@@ -1,17 +1,16 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<plugin
- author="René 'Necoro' Neumann"
- name="Shutdown">
+<?xml version="1.0" encoding="UTF-8" ?>
+<plugin xmlns="http://portato.sourceforge.net/plugin" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://portato.sourceforge.net/plugin http://portato.sourceforge.net/plugin.xsd">
+ <author>René 'Necoro' Neumann</author>
+ <name>Shutdown</name>
<import>portato.plugins.shutdown</import>
- <hook
- hook = "after_emerge"
- call = "shutdown">
- <connect type="after">*</connect>
- </hook>
+ <hooks>
+ <hook type = "after_emerge" call = "shutdown">
+ <connect type="after">*</connect>
+ </hook>
+ </hooks>
<options>
<option>disabled</option>
</options>
-
</plugin>