+Fri Sep 3 22:45:03 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkuimanager.c (print_node): Don't print out attributes
+ for the <ui> root node. (#151752, Lorenzo Gil Sánchez)
+
Sat Sep 4 02:38:57 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtktoolbar.c (position): Accelerate the animation when it
+Fri Sep 3 22:45:03 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkuimanager.c (print_node): Don't print out attributes
+ for the <ui> root node. (#151752, Lorenzo Gil Sánchez)
+
Sat Sep 4 02:38:57 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtktoolbar.c (position): Accelerate the animation when it
+Fri Sep 3 22:45:03 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkuimanager.c (print_node): Don't print out attributes
+ for the <ui> root node. (#151752, Lorenzo Gil Sánchez)
+
Sat Sep 4 02:38:57 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtktoolbar.c (position): Accelerate the animation when it
+Fri Sep 3 22:45:03 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkuimanager.c (print_node): Don't print out attributes
+ for the <ui> root node. (#151752, Lorenzo Gil Sánchez)
+
Sat Sep 4 02:38:57 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtktoolbar.c (position): Accelerate the animation when it
g_string_append_printf (buffer, open_tag_format[mnode->type],
indent_level, "");
- if (mnode->name)
- g_string_append_printf (buffer, " name=\"%s\"", mnode->name);
-
- if (mnode->action_name)
- g_string_append_printf (buffer, " action=\"%s\"",
- g_quark_to_string (mnode->action_name));
+ if (mnode->type != NODE_TYPE_ROOT)
+ {
+ if (mnode->name)
+ g_string_append_printf (buffer, " name=\"%s\"", mnode->name);
+
+ if (mnode->action_name)
+ g_string_append_printf (buffer, " action=\"%s\"",
+ g_quark_to_string (mnode->action_name));
+ }
g_string_append (buffer,
close_tag_format[mnode->type] ? ">\n" : "/>\n");