[epiphany/mcatanzaro/resource-base-path] shell: set resource-base-path



commit c87b03e3872a3841bc5f04f20bdb53d5e7d1a282
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Wed Mar 20 15:27:28 2019 -0500

    shell: set resource-base-path
    
    Since we now use separate app IDs, GtkApplication automatic resource
    loading has been broken. This affects our themes and icons listed at the
    bottom of epiphany.gresource.xml, but not other resources. We have to
    manually specify our resource path now, or GTK will look for icons under
    /org/gnome/Epiphany/Devel/icons even though they are still at
    /org/gnome/Epiphany/icons. Similar problem for themes.
    
    Fixes #701

 src/ephy-shell.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index f7dcd15b3..c90bd9ed6 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -1000,6 +1000,7 @@ _ephy_shell_create_instance (EphyEmbedShellMode mode)
   ephy_shell = EPHY_SHELL (g_object_new (EPHY_TYPE_SHELL,
                                          "application-id", id,
                                          "mode", mode,
+                                         "resource-base-path", "/org/gnome/Epiphany",
                                          NULL));
   /* FIXME weak ref */
   g_assert (ephy_shell != NULL);


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