diff options
author | Johnny Jacob <jjohnny@src.gnome.org> | 2008-06-12 05:22:15 +0800 |
---|---|---|
committer | Johnny Jacob <jjohnny@src.gnome.org> | 2008-06-12 05:22:15 +0800 |
commit | 49db161be97ce0ff71b8fa9fbdf2a00a45ded788 (patch) | |
tree | 6b6af1c2a7ba9a68c341145572b47644de8c4827 /plugins/python/example/org-gnome-hello-python.eplug.xml | |
parent | a8288ede3081f5dcad39f9c0fc71cf849045a6ec (diff) | |
download | gsoc2013-evolution-49db161be97ce0ff71b8fa9fbdf2a00a45ded788.tar gsoc2013-evolution-49db161be97ce0ff71b8fa9fbdf2a00a45ded788.tar.gz gsoc2013-evolution-49db161be97ce0ff71b8fa9fbdf2a00a45ded788.tar.bz2 gsoc2013-evolution-49db161be97ce0ff71b8fa9fbdf2a00a45ded788.tar.lz gsoc2013-evolution-49db161be97ce0ff71b8fa9fbdf2a00a45ded788.tar.xz gsoc2013-evolution-49db161be97ce0ff71b8fa9fbdf2a00a45ded788.tar.zst gsoc2013-evolution-49db161be97ce0ff71b8fa9fbdf2a00a45ded788.zip |
A simple example python plugin - just hook onto events.
svn path=/trunk/; revision=35627
Diffstat (limited to 'plugins/python/example/org-gnome-hello-python.eplug.xml')
-rw-r--r-- | plugins/python/example/org-gnome-hello-python.eplug.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/python/example/org-gnome-hello-python.eplug.xml b/plugins/python/example/org-gnome-hello-python.eplug.xml new file mode 100644 index 0000000000..8f77d5ba01 --- /dev/null +++ b/plugins/python/example/org-gnome-hello-python.eplug.xml @@ -0,0 +1,20 @@ +<?xml version="1.0"?> +<e-plugin-list> + <e-plugin id="org.gnome.evolution.hello_python" type="python" _name="Python Test Plugin" location="@PLUGINDIR@" module_name="hello_python"> + + <author name="Johnny Jacob" email="jjohnny@novell.com"/> + + <_description> + Test Plugin for Python EPlugin loader. + </_description> + + <hook class="org.gnome.evolution.mail.bonobomenu:1.0"> + <menu id="org.gnome.evolution.mail.browser" target="select"> + <!-- the path to the bonobo menu description. Any UI items on Evolution should come here --> + <ui file="@PLUGINDIR@/org-gnome-hello-python-ui.xml"/> + <item type="item" verb="HelloPy" path="/commands/HelloPy" enable="one" activate="say_hello"/> + </menu> + </hook> + + </e-plugin> +</e-plugin-list> |