mirror of
https://github.com/labwc/labwc.git
synced 2026-04-11 08:21:13 -04:00
osd: always show title with <field content="title">
Before this patch, titles were not shown if they are identical to the identifiers.
This commit is contained in:
parent
f2b020b239
commit
0473c8ac37
1 changed files with 1 additions and 2 deletions
|
|
@ -324,8 +324,7 @@ osd_field_arg_from_xml_node(struct window_switcher_field *field,
|
||||||
} else if (!strcmp(content, "desktop_entry_name")) {
|
} else if (!strcmp(content, "desktop_entry_name")) {
|
||||||
field->content = LAB_FIELD_DESKTOP_ENTRY_NAME;
|
field->content = LAB_FIELD_DESKTOP_ENTRY_NAME;
|
||||||
} else if (!strcmp(content, "title")) {
|
} else if (!strcmp(content, "title")) {
|
||||||
/* Keep old defaults */
|
field->content = LAB_FIELD_TITLE;
|
||||||
field->content = LAB_FIELD_TITLE_SHORT;
|
|
||||||
} else if (!strcmp(content, "workspace")) {
|
} else if (!strcmp(content, "workspace")) {
|
||||||
field->content = LAB_FIELD_WORKSPACE;
|
field->content = LAB_FIELD_WORKSPACE;
|
||||||
} else if (!strcmp(content, "state")) {
|
} else if (!strcmp(content, "state")) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue