[gnome-panel] application: use configured theme variant on startup



commit 5086513ae961abd968861d4cb4b8b7f2bf6b07c3
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Wed Aug 26 16:44:36 2020 +0300

    application: use configured theme variant on startup
    
    https://gitlab.gnome.org/GNOME/gnome-panel/-/issues/29

 gnome-panel/gp-application.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome-panel/gp-application.c b/gnome-panel/gp-application.c
index 457a27aca..4f105db93 100644
--- a/gnome-panel/gp-application.c
+++ b/gnome-panel/gp-application.c
@@ -243,7 +243,7 @@ gp_application_init (GpApplication *self)
                                            G_CALLBACK (prefer_dark_changed_cb),
                                            self);
 
-  update_theme (self);
+  theme_variant_changed_cb (self->general_settings, "theme-variant", self);
 }
 
 GpApplication *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]