mirror of
https://github.com/labwc/labwc.git
synced 2026-02-15 22:05:25 -05:00
ssd: add optional omnipresent button
This commit is contained in:
parent
186a07be9b
commit
b7bccc8026
12 changed files with 165 additions and 52 deletions
|
|
@ -116,6 +116,8 @@ 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")) {
|
||||
return LAB_SSD_BUTTON_OMNIPRESENT;
|
||||
} else if (!strcasecmp(str, "Titlebar")) {
|
||||
return LAB_SSD_PART_TITLEBAR;
|
||||
} else if (!strcasecmp(str, "Title")) {
|
||||
|
|
|
|||
|
|
@ -161,7 +161,9 @@ fill_title_layout(char *nodename, char *content)
|
|||
case 'S':
|
||||
type = LAB_SSD_BUTTON_SHADE;
|
||||
break;
|
||||
/* case 'D': omnipresent */
|
||||
case 'D':
|
||||
type = LAB_SSD_BUTTON_OMNIPRESENT;
|
||||
break;
|
||||
default:
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue