mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
src/menu: add global config for menu.showIcons
This commit is contained in:
parent
1fa4070025
commit
ed4553fc7e
5 changed files with 12 additions and 2 deletions
|
|
@ -1252,6 +1252,8 @@ entry(xmlNode *node, char *nodename, char *content)
|
|||
tablet_get_dbl_if_positive(content, "relativeMotionSensitivity");
|
||||
} else if (!strcasecmp(nodename, "ignoreButtonReleasePeriod.menu")) {
|
||||
rc.menu_ignore_button_release_period = atoi(content);
|
||||
} else if (!strcasecmp(nodename, "showIcons.menu")) {
|
||||
set_bool(content, &rc.menu_show_icons);
|
||||
} else if (!strcasecmp(nodename, "width.magnifier")) {
|
||||
rc.mag_width = atoi(content);
|
||||
} else if (!strcasecmp(nodename, "height.magnifier")) {
|
||||
|
|
@ -1497,6 +1499,7 @@ rcxml_init(void)
|
|||
rc.workspace_config.min_nr_workspaces = 1;
|
||||
|
||||
rc.menu_ignore_button_release_period = 250;
|
||||
rc.menu_show_icons = true;
|
||||
|
||||
rc.mag_width = 400;
|
||||
rc.mag_height = 400;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue