mirror of
https://github.com/labwc/labwc.git
synced 2026-02-06 04:06:33 -05:00
src/action.c: Provide generic parsing of XML action arguments
.. and use it within src/config/rcxml.c and src/menu/menu.c. This fixes being unable to use the `direction` argument in menu entries. Reported-by: mahk via IRC
This commit is contained in:
parent
7ad5490ff0
commit
7cc80b7a99
4 changed files with 32 additions and 33 deletions
|
|
@ -20,6 +20,8 @@ struct action {
|
|||
|
||||
struct action *action_create(const char *action_name);
|
||||
void action_arg_add_str(struct action *action, char *key, const char *value);
|
||||
void action_arg_from_xml_node(struct action *action, char *nodename, char *content);
|
||||
|
||||
void actions_run(struct view *activator, struct server *server,
|
||||
struct wl_list *actions, uint32_t resize_edges);
|
||||
void action_list_free(struct wl_list *action_list);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue