mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 15:10:53 +00:00
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.
This commit is contained in:
@ -176,6 +176,8 @@ static void
|
|||||||
sp_theme_manager_init (SpThemeManager *self)
|
sp_theme_manager_init (SpThemeManager *self)
|
||||||
{
|
{
|
||||||
self->theme_resources = g_hash_table_new_full (g_str_hash, g_str_equal, NULL, theme_resource_free);
|
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");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user