Commit 3636328e authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

Don't print out attributes for the <ui> root node. (#151752, Lorenzo Gil

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)
parent 5445cbc7
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
......
......@@ -2673,12 +2673,15 @@ print_node (GtkUIManager *self,
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");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment