mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
src/menu/menu.c: Add comments
This commit is contained in:
parent
8909afcd7c
commit
ec8bc6e2d6
1 changed files with 2 additions and 0 deletions
|
|
@ -231,6 +231,7 @@ fill_item(char *nodename, char *content)
|
|||
wlr_log(WLR_ERROR, "expect <action name=\"\"> element first. "
|
||||
"nodename: '%s' content: '%s'", nodename, content);
|
||||
} else if (!strcmp(nodename, "command.action")) {
|
||||
/* Execute */
|
||||
action_arg_add_str(current_item_action, NULL, content);
|
||||
} else if (!strcmp(nodename, "execute.action")) {
|
||||
/*
|
||||
|
|
@ -240,6 +241,7 @@ fill_item(char *nodename, char *content)
|
|||
*/
|
||||
action_arg_add_str(current_item_action, NULL, content);
|
||||
} else if (!strcmp(nodename, "to.action")) {
|
||||
/* GoToDesktop, SendToDesktop */
|
||||
action_arg_add_str(current_item_action, NULL, content);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue