mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
config: s/OSD/OnScreenDisplay/ in <theme><font place="OSD">
...to comply with Openbox 3.6 spec [1] "OSD" is still honoured to maintain backward compatibility. [1]: http://openbox.org/wiki/Help:Configuration#Theme
This commit is contained in:
parent
07a83c19f0
commit
84e64b9ce3
3 changed files with 4 additions and 3 deletions
|
|
@ -126,7 +126,7 @@ The rest of this man page describes configuration options.
|
|||
Places can be any of:
|
||||
- ActiveWindow - titlebar of active window
|
||||
- MenuItem - menu item (currently only root menu)
|
||||
- OSD - items in the on screen display
|
||||
- OnScreenDisplay - items in the on screen display
|
||||
If no place attribute is provided, the setting will be applied to all
|
||||
places.
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
<slant>normal</slant>
|
||||
<weight>normal</weight>
|
||||
</font>
|
||||
<font place="OSD">
|
||||
<font place="OnScreenDisplay">
|
||||
<name>sans</name>
|
||||
<size>10</size>
|
||||
<slant>normal</slant>
|
||||
|
|
|
|||
|
|
@ -298,7 +298,8 @@ enum_font_place(const char *place)
|
|||
return FONT_PLACE_ACTIVEWINDOW;
|
||||
} else if (!strcasecmp(place, "MenuItem")) {
|
||||
return FONT_PLACE_MENUITEM;
|
||||
} else if (!strcasecmp(place, "OSD")) {
|
||||
} else if (!strcasecmp(place, "OnScreenDisplay")
|
||||
|| !strcasecmp(place, "OSD")) {
|
||||
return FONT_PLACE_OSD;
|
||||
}
|
||||
return FONT_PLACE_UNKNOWN;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue