aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-09-02 04:35:16 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-09-02 04:35:16 +0800
commit5f4b5eb1fd30bfb08c1b1898264e696482a390cc (patch)
tree0ef247cfb38cb02fbdcbbde332304332edabb4a0 /e-util
parentfddcc93ac6158fc2ac3ede1c0020ff97e7bd561d (diff)
downloadgsoc2013-evolution-5f4b5eb1fd30bfb08c1b1898264e696482a390cc.tar
gsoc2013-evolution-5f4b5eb1fd30bfb08c1b1898264e696482a390cc.tar.gz
gsoc2013-evolution-5f4b5eb1fd30bfb08c1b1898264e696482a390cc.tar.bz2
gsoc2013-evolution-5f4b5eb1fd30bfb08c1b1898264e696482a390cc.tar.lz
gsoc2013-evolution-5f4b5eb1fd30bfb08c1b1898264e696482a390cc.tar.xz
gsoc2013-evolution-5f4b5eb1fd30bfb08c1b1898264e696482a390cc.tar.zst
gsoc2013-evolution-5f4b5eb1fd30bfb08c1b1898264e696482a390cc.zip
Better clarify callbacks table in EPluginUI.
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-plugin-ui.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/e-util/e-plugin-ui.c b/e-util/e-plugin-ui.c
index 20ab27b319..c3b5b0df20 100644
--- a/e-util/e-plugin-ui.c
+++ b/e-util/e-plugin-ui.c
@@ -33,7 +33,7 @@ struct _EPluginUIHookPrivate {
* For example:
*
* <hook class="org.gnome.evolution.ui:1.0">
- * <ui-manager id="org.gnome.evolution.sample">
+ * <ui-manager id="org.gnome.evolution.foo">
* ... UI definition ...
* </ui-manager>
* </hook>
@@ -42,7 +42,7 @@ struct _EPluginUIHookPrivate {
*
* g_hash_table_insert (
* ui_definitions,
- * "org.gnome.evolution.sample",
+ * "org.gnome.evolution.foo",
* "... UI definition ...");
*
* See http://library.gnome.org/devel/gtk/unstable/GtkUIManager.html
@@ -69,6 +69,14 @@ struct _EPluginUIHookPrivate {
* ...
* </ui-manager>
* </hook>
+ *
+ * Results in:
+ *
+ * g_hash_table_insert (
+ * callbacks, "org.gnome.evolution.foo", "init_foo");
+ *
+ * g_hash_table_insert (
+ * callbacks, "org.gnome.evolution.bar", "init_bar");
*/
GHashTable *callbacks;