If a required action is missing, don't recurse over the children.
2006-12-27 Matthias Clasen <mclasen@redhat.com> * gtk/gtkuimanager.c (update_node): If a required action is missing, don't recurse over the children. (#349119, Chris Moller)
This commit is contained in:
committed by
Matthias Clasen
parent
264e9c0ce1
commit
1bb873464c
@ -1,4 +1,10 @@
|
|||||||
2006-12-17 Matthias Clasen <mclasen@redhat.com>
|
2006-12-27 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkuimanager.c (update_node): If a required action
|
||||||
|
is missing, don't recurse over the children. (#349119,
|
||||||
|
Chris Moller)
|
||||||
|
|
||||||
|
2006-12-27 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
Fix a few problems with nested menus in comboboxes
|
Fix a few problems with nested menus in comboboxes
|
||||||
(#386694, Yevgen Muntyan)
|
(#386694, Yevgen Muntyan)
|
||||||
|
|||||||
@ -2133,9 +2133,9 @@ update_node (GtkUIManager *self,
|
|||||||
info->type != NODE_TYPE_MENU_PLACEHOLDER &&
|
info->type != NODE_TYPE_MENU_PLACEHOLDER &&
|
||||||
info->type != NODE_TYPE_TOOLBAR_PLACEHOLDER)
|
info->type != NODE_TYPE_TOOLBAR_PLACEHOLDER)
|
||||||
{
|
{
|
||||||
g_warning ("%s: missing action", info->name);
|
g_warning ("%s: missing action %s", info->name, action_name);
|
||||||
|
|
||||||
goto recurse_children;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (action)
|
if (action)
|
||||||
|
|||||||
Reference in New Issue
Block a user