st/icon-theme: Initialize current theme

We currently only read the configured theme on changes, so we end
up always using the default theme initially, whoops.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6471

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2675>
This commit is contained in:
Florian Müllner 2023-03-05 15:09:16 +01:00
parent 98f0e3074b
commit 0e0453a1a2

View File

@ -480,6 +480,7 @@ st_icon_theme_init (StIconTheme *icon_theme)
settings = st_settings_get ();
g_signal_connect (settings, "notify::gtk-icon-theme",
G_CALLBACK (theme_changed), icon_theme);
update_current_theme (icon_theme);
}
static void