[libdazzle] app: load internal CSS automatically



commit c5c6ec174e0d09d33203ded20a8b9b3a8794586e
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jun 5 03:01:07 2017 -0700

    app: load internal CSS automatically
    
    This will reuse the app resource loading hooks to load the default CSS
    that is part of the libdazzle library.

 src/app/dzl-application.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/app/dzl-application.c b/src/app/dzl-application.c
index 1eec558..949c023 100644
--- a/src/app/dzl-application.c
+++ b/src/app/dzl-application.c
@@ -135,6 +135,7 @@ dzl_application_startup (GApplication *app)
    * We cannot register resources before chaining startup because
    * the GtkSettings and other plumbing will not yet be initialized.
    */
+  dzl_application_add_resource_path (self, "/org/gnome/dazzle");
   dzl_application_add_resource_path (self, g_application_get_resource_base_path (app));
   app_menu = dzl_menu_manager_get_menu_by_id (priv->menu_manager, "app-menu");
   gtk_application_set_app_menu (GTK_APPLICATION (self), G_MENU_MODEL (app_menu));


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