aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-plugin-ui.c
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2010-03-03 22:02:41 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-03-14 09:53:16 +0800
commit97f274dffdca39bca33296a9f39411dd2680b4ec (patch)
tree374f7051947908759e4c41f527c7bad64dbd6069 /e-util/e-plugin-ui.c
parent19eea41c74154855cb68ee3a1fb41e2ec136b764 (diff)
downloadgsoc2013-evolution-97f274dffdca39bca33296a9f39411dd2680b4ec.tar
gsoc2013-evolution-97f274dffdca39bca33296a9f39411dd2680b4ec.tar.gz
gsoc2013-evolution-97f274dffdca39bca33296a9f39411dd2680b4ec.tar.bz2
gsoc2013-evolution-97f274dffdca39bca33296a9f39411dd2680b4ec.tar.lz
gsoc2013-evolution-97f274dffdca39bca33296a9f39411dd2680b4ec.tar.xz
gsoc2013-evolution-97f274dffdca39bca33296a9f39411dd2680b4ec.tar.zst
gsoc2013-evolution-97f274dffdca39bca33296a9f39411dd2680b4ec.zip
Disable a chunk of UI from the mail-to-task plugin
Allow plugins to disable chunks of their UI - *NB* requires patched intltool, that doesn't elide comments in XML Remove some debug
Diffstat (limited to 'e-util/e-plugin-ui.c')
-rw-r--r--e-util/e-plugin-ui.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/e-util/e-plugin-ui.c b/e-util/e-plugin-ui.c
index 3ca8703d5a..133455b108 100644
--- a/e-util/e-plugin-ui.c
+++ b/e-util/e-plugin-ui.c
@@ -450,9 +450,7 @@ plugin_ui_hook_construct (EPluginHook *hook,
/* Extract the XML content below <ui-manager> */
buffer = xmlBufferCreate ();
- for (child = xmlFirstElementChild (node); child != NULL;
- child = xmlNextElementSibling (child)) {
-
+ for (child = node->children; child != NULL; child = child->next) {
xmlNodeDump (buffer, node->doc, child, 2, 1);
temp = (const gchar *) xmlBufferContent (buffer);
g_string_append (content, temp);