mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
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)
This commit is contained in:
parent
5445cbc7b0
commit
3636328e69
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
Sat Sep 4 02:38:57 2004 Søren Sandmann <sandmann@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktoolbar.c (position): Accelerate the animation when it
|
* gtk/gtktoolbar.c (position): Accelerate the animation when it
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
Sat Sep 4 02:38:57 2004 Søren Sandmann <sandmann@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktoolbar.c (position): Accelerate the animation when it
|
* gtk/gtktoolbar.c (position): Accelerate the animation when it
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
Sat Sep 4 02:38:57 2004 Søren Sandmann <sandmann@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktoolbar.c (position): Accelerate the animation when it
|
* gtk/gtktoolbar.c (position): Accelerate the animation when it
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
Sat Sep 4 02:38:57 2004 Søren Sandmann <sandmann@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktoolbar.c (position): Accelerate the animation when it
|
* 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],
|
g_string_append_printf (buffer, open_tag_format[mnode->type],
|
||||||
indent_level, "");
|
indent_level, "");
|
||||||
|
|
||||||
|
if (mnode->type != NODE_TYPE_ROOT)
|
||||||
|
{
|
||||||
if (mnode->name)
|
if (mnode->name)
|
||||||
g_string_append_printf (buffer, " name=\"%s\"", mnode->name);
|
g_string_append_printf (buffer, " name=\"%s\"", mnode->name);
|
||||||
|
|
||||||
if (mnode->action_name)
|
if (mnode->action_name)
|
||||||
g_string_append_printf (buffer, " action=\"%s\"",
|
g_string_append_printf (buffer, " action=\"%s\"",
|
||||||
g_quark_to_string (mnode->action_name));
|
g_quark_to_string (mnode->action_name));
|
||||||
|
}
|
||||||
|
|
||||||
g_string_append (buffer,
|
g_string_append (buffer,
|
||||||
close_tag_format[mnode->type] ? ">\n" : "/>\n");
|
close_tag_format[mnode->type] ? ">\n" : "/>\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user