mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
action: rename "omnipresent" button options for Openbox compatibility
- Mouse context "Omnipresent" -> "AllDesktops" - Theme elements "window.*.button.omnipresent" -> "window.*.button.desk" - Update documentation accordingly
This commit is contained in:
parent
dda47a5e14
commit
1bcaf8255f
6 changed files with 22 additions and 16 deletions
|
|
@ -116,7 +116,7 @@ context_from_str(const char *str)
|
|||
return LAB_SSD_BUTTON_WINDOW_MENU;
|
||||
} else if (!strcasecmp(str, "Shade")) {
|
||||
return LAB_SSD_BUTTON_SHADE;
|
||||
} else if (!strcasecmp(str, "Omnipresent")) {
|
||||
} else if (!strcasecmp(str, "AllDesktops")) {
|
||||
return LAB_SSD_BUTTON_OMNIPRESENT;
|
||||
} else if (!strcasecmp(str, "Titlebar")) {
|
||||
return LAB_SSD_PART_TITLEBAR;
|
||||
|
|
|
|||
|
|
@ -793,7 +793,7 @@ entry(struct theme *theme, const char *key, const char *value)
|
|||
parse_hexstr(value,
|
||||
theme->window_active_button_shade_unpressed_image_color);
|
||||
}
|
||||
if (match_glob(key, "window.active.button.omnipresent.unpressed.image.color")) {
|
||||
if (match_glob(key, "window.active.button.desk.unpressed.image.color")) {
|
||||
parse_hexstr(value,
|
||||
theme->window_active_button_omnipresent_unpressed_image_color);
|
||||
}
|
||||
|
|
@ -817,7 +817,7 @@ entry(struct theme *theme, const char *key, const char *value)
|
|||
parse_hexstr(value,
|
||||
theme->window_inactive_button_shade_unpressed_image_color);
|
||||
}
|
||||
if (match_glob(key, "window.inactive.button.omnipresent.unpressed.image.color")) {
|
||||
if (match_glob(key, "window.inactive.button.desk.unpressed.image.color")) {
|
||||
parse_hexstr(value,
|
||||
theme->window_inactive_button_omnipresent_unpressed_image_color);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue