From 563a5e3e65c10eb7324d711e02a14cd0d8eb973a Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 23 Nov 2016 19:19:43 -0800 Subject: [PATCH] theme-manager: ensure that icons are loaded This uses the theme manager to ensure that we add the icon path for consumers of the library. --- lib/sp-theme-manager.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/sp-theme-manager.c b/lib/sp-theme-manager.c index 74e84b4c..5cf2108b 100644 --- a/lib/sp-theme-manager.c +++ b/lib/sp-theme-manager.c @@ -176,6 +176,8 @@ static void sp_theme_manager_init (SpThemeManager *self) { self->theme_resources = g_hash_table_new_full (g_str_hash, g_str_equal, NULL, theme_resource_free); + + gtk_icon_theme_add_resource_path (gtk_icon_theme_get_default (), "/org/gnome/sysprof/icons"); } /**