src/menu/menu.c: Add comments

This commit is contained in:
Consolatis 2022-11-01 17:50:39 +01:00
parent 8909afcd7c
commit ec8bc6e2d6

View file

@ -231,6 +231,7 @@ fill_item(char *nodename, char *content)
wlr_log(WLR_ERROR, "expect <action name=\"\"> element first. " wlr_log(WLR_ERROR, "expect <action name=\"\"> element first. "
"nodename: '%s' content: '%s'", nodename, content); "nodename: '%s' content: '%s'", nodename, content);
} else if (!strcmp(nodename, "command.action")) { } else if (!strcmp(nodename, "command.action")) {
/* Execute */
action_arg_add_str(current_item_action, NULL, content); action_arg_add_str(current_item_action, NULL, content);
} else if (!strcmp(nodename, "execute.action")) { } 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); action_arg_add_str(current_item_action, NULL, content);
} else if (!strcmp(nodename, "to.action")) { } else if (!strcmp(nodename, "to.action")) {
/* GoToDesktop, SendToDesktop */
action_arg_add_str(current_item_action, NULL, content); action_arg_add_str(current_item_action, NULL, content);
} }
} }