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:
parent
98f0e3074b
commit
0e0453a1a2
@ -480,6 +480,7 @@ st_icon_theme_init (StIconTheme *icon_theme)
|
|||||||
settings = st_settings_get ();
|
settings = st_settings_get ();
|
||||||
g_signal_connect (settings, "notify::gtk-icon-theme",
|
g_signal_connect (settings, "notify::gtk-icon-theme",
|
||||||
G_CALLBACK (theme_changed), icon_theme);
|
G_CALLBACK (theme_changed), icon_theme);
|
||||||
|
update_current_theme (icon_theme);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user