mirror of
https://github.com/labwc/labwc.git
synced 2025-11-29 06:59:52 -05:00
osd: make empty string "" in thumbnailLabelFormat to not show any text (#3196)
This commit is contained in:
parent
87da3f6588
commit
0501f0ac9e
1 changed files with 2 additions and 2 deletions
|
|
@ -1068,6 +1068,8 @@ entry(xmlNode *node, char *nodename, char *content)
|
|||
load_default_mouse_bindings();
|
||||
} else if (!strcasecmp(nodename, "prefix.desktops")) {
|
||||
xstrdup_replace(rc.workspace_config.prefix, content);
|
||||
} else if (!strcasecmp(nodename, "thumbnailLabelFormat.windowSwitcher")) {
|
||||
xstrdup_replace(rc.window_switcher.thumbnail_label_format, content);
|
||||
|
||||
} else if (!lab_xml_node_is_leaf(node)) {
|
||||
/* parse children of nested nodes other than above */
|
||||
|
|
@ -1208,8 +1210,6 @@ entry(xmlNode *node, char *nodename, char *content)
|
|||
} else if (!strcasecmp(content, "thumbnail")) {
|
||||
rc.window_switcher.style = WINDOW_SWITCHER_THUMBNAIL;
|
||||
}
|
||||
} else if (!strcasecmp(nodename, "thumbnailLabelFormat.windowSwitcher")) {
|
||||
xstrdup_replace(rc.window_switcher.thumbnail_label_format, content);
|
||||
} else if (!strcasecmp(nodename, "preview.windowSwitcher")) {
|
||||
set_bool(content, &rc.window_switcher.preview);
|
||||
} else if (!strcasecmp(nodename, "outlines.windowSwitcher")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue