mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
menu: print menu.xml nodenames
...when LABWC_DEBUG_MENU_NODENAMES is set
This commit is contained in:
parent
c0c40e1432
commit
4a31972b6f
1 changed files with 3 additions and 0 deletions
|
|
@ -307,6 +307,9 @@ entry(xmlNode *node, char *nodename, char *content)
|
|||
return;
|
||||
}
|
||||
string_truncate_at_pattern(nodename, ".openbox_menu");
|
||||
if (getenv("LABWC_DEBUG_MENU_NODENAMES")) {
|
||||
printf("%s: %s\n", nodename, content);
|
||||
}
|
||||
if (in_item) {
|
||||
fill_item(nodename, content);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue