Commit 2e721fc4 authored by Robert Ancell's avatar Robert Ancell Committed by Richard Hughes

icons: Use the currently selected icon theme for stock icons

Previously only the GNOME default icon theme was used.
parent ad857764
Pipeline #53579 passed with stage
in 10 minutes and 59 seconds
......@@ -45,6 +45,7 @@ gs_plugin_initialize (GsPlugin *plugin)
GsPluginData *priv = gs_plugin_alloc_data (plugin, sizeof(GsPluginData));
priv->icon_theme = gtk_icon_theme_new ();
gtk_icon_theme_set_screen (priv->icon_theme, gdk_screen_get_default ());
priv->icon_theme_paths = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
g_mutex_init (&priv->icon_theme_lock);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment