mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
src/config: let icon theme name default to theme
This commit is contained in:
parent
1e2c709d6b
commit
060b59f7ed
2 changed files with 5 additions and 1 deletions
|
|
@ -481,7 +481,7 @@ extending outward from the snapped edge.
|
||||||
The name of the Openbox theme to use. It is not set by default.
|
The name of the Openbox theme to use. It is not set by default.
|
||||||
|
|
||||||
*<theme><icon>*
|
*<theme><icon>*
|
||||||
The name of the icon theme to use. It is not set by default.
|
The name of the icon theme to use. Inherits *<theme><name>* if not set.
|
||||||
|
|
||||||
*<theme><fallbackAppIcon>*
|
*<theme><fallbackAppIcon>*
|
||||||
The name of the icon to use as a fallback when the application icon
|
The name of the icon to use as a fallback when the application icon
|
||||||
|
|
|
||||||
|
|
@ -1683,6 +1683,10 @@ post_processing(void)
|
||||||
rc.fallback_app_icon_name = xstrdup("labwc");
|
rc.fallback_app_icon_name = xstrdup("labwc");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!rc.icon_theme_name && rc.theme_name) {
|
||||||
|
rc.icon_theme_name = xstrdup(rc.theme_name);
|
||||||
|
}
|
||||||
|
|
||||||
if (!rc.title_layout_loaded) {
|
if (!rc.title_layout_loaded) {
|
||||||
#if HAVE_LIBSFDO
|
#if HAVE_LIBSFDO
|
||||||
fill_title_layout("icon:iconify,max,close");
|
fill_title_layout("icon:iconify,max,close");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue