[gnome-text-editor] app: handle recoloring at startup



commit 91a9b4e73f388a0f40e8aee09c045c181c96178e
Author: Christian Hergert <chergert redhat com>
Date:   Thu Dec 2 12:49:16 2021 -0800

    app: handle recoloring at startup
    
    We missed this at startup, leaving us with the regular libadwaita theme
    colors.
    
    Related #139

 src/editor-application.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/editor-application.c b/src/editor-application.c
index 6e615c0..2100bf9 100644
--- a/src/editor-application.c
+++ b/src/editor-application.c
@@ -279,6 +279,9 @@ editor_application_startup (GApplication *application)
                                               GTK_STYLE_PROVIDER (css_provider),
                                               GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
 
+  /* Setup any recoloring that needs to be done */
+  update_css (self);
+
   gtk_window_set_default_icon_name (PACKAGE_ICON_NAME);
 }
 


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