mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
config: s/app_id/identifier/ for window-switcher field
...to be consistent with window rules. The use of 'app_id' for window-switcher fields is hereby deprecated.
This commit is contained in:
parent
e5a6c57a6e
commit
206db43786
5 changed files with 14 additions and 6 deletions
|
|
@ -183,8 +183,11 @@ fill_window_switcher_field(char *nodename, char *content)
|
|||
} else if (!strcmp(nodename, "content")) {
|
||||
if (!strcmp(content, "type")) {
|
||||
current_field->content = LAB_FIELD_TYPE;
|
||||
} else if (!strcmp(content, "identifier")) {
|
||||
current_field->content = LAB_FIELD_IDENTIFIER;
|
||||
} else if (!strcmp(content, "app_id")) {
|
||||
current_field->content = LAB_FIELD_APP_ID;
|
||||
wlr_log(WLR_ERROR, "window-switcher field 'app_id' is deprecated");
|
||||
current_field->content = LAB_FIELD_IDENTIFIER;
|
||||
} else if (!strcmp(content, "title")) {
|
||||
current_field->content = LAB_FIELD_TITLE;
|
||||
} else {
|
||||
|
|
@ -1054,7 +1057,7 @@ static struct {
|
|||
int width;
|
||||
} fields[] = {
|
||||
{ LAB_FIELD_TYPE, 25 },
|
||||
{ LAB_FIELD_APP_ID, 25 },
|
||||
{ LAB_FIELD_IDENTIFIER, 25 },
|
||||
{ LAB_FIELD_TITLE, 50 },
|
||||
{ LAB_FIELD_NONE, 0 },
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue