Use the proper node type for placeholders in toolbars. (#151963, Olivier

2004-09-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Use the proper node type
	for placeholders in toolbars.  (#151963, Olivier Andrieu)
This commit is contained in:
Matthias Clasen 2004-09-07 17:33:07 +00:00 committed by Matthias Clasen
parent 8dd03834d3
commit 923a2ebde7
5 changed files with 13 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2004-09-07 Matthias Clasen <mclasen@redhat.com> 2004-09-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Use the proper node type
for placeholders in toolbars. (#151963, Olivier Andrieu)
* gtk/gtkstyle.c (gtk_default_draw_expander): Draw expanders a bit * gtk/gtkstyle.c (gtk_default_draw_expander): Draw expanders a bit
better. better.

View File

@ -1,5 +1,8 @@
2004-09-07 Matthias Clasen <mclasen@redhat.com> 2004-09-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Use the proper node type
for placeholders in toolbars. (#151963, Olivier Andrieu)
* gtk/gtkstyle.c (gtk_default_draw_expander): Draw expanders a bit * gtk/gtkstyle.c (gtk_default_draw_expander): Draw expanders a bit
better. better.

View File

@ -1,5 +1,8 @@
2004-09-07 Matthias Clasen <mclasen@redhat.com> 2004-09-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Use the proper node type
for placeholders in toolbars. (#151963, Olivier Andrieu)
* gtk/gtkstyle.c (gtk_default_draw_expander): Draw expanders a bit * gtk/gtkstyle.c (gtk_default_draw_expander): Draw expanders a bit
better. better.

View File

@ -1,5 +1,8 @@
2004-09-07 Matthias Clasen <mclasen@redhat.com> 2004-09-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Use the proper node type
for placeholders in toolbars. (#151963, Olivier Andrieu)
* gtk/gtkstyle.c (gtk_default_draw_expander): Draw expanders a bit * gtk/gtkstyle.c (gtk_default_draw_expander): Draw expanders a bit
better. better.

View File

@ -1632,7 +1632,7 @@ gtk_ui_manager_add_ui (GtkUIManager *self,
node_type = NODE_TYPE_SEPARATOR; node_type = NODE_TYPE_SEPARATOR;
break; break;
case GTK_UI_MANAGER_PLACEHOLDER: case GTK_UI_MANAGER_PLACEHOLDER:
node_type = NODE_TYPE_MENU_PLACEHOLDER; node_type = NODE_TYPE_TOOLBAR_PLACEHOLDER;
break; break;
default: ; default: ;
/* do nothing */ /* do nothing */