[evolution] Better clarify callbacks table in EPluginUI.



commit 5f4b5eb1fd30bfb08c1b1898264e696482a390cc
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Sep 1 16:35:16 2009 -0400

    Better clarify callbacks table in EPluginUI.

 e-util/e-plugin-ui.c |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/e-util/e-plugin-ui.c b/e-util/e-plugin-ui.c
index 20ab27b..c3b5b0d 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;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]