summaryrefslogtreecommitdiffstats
path: root/source/dialogs/drun.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/dialogs/drun.c')
-rw-r--r--source/dialogs/drun.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/dialogs/drun.c b/source/dialogs/drun.c
index e5419ea4..883d7ca7 100644
--- a/source/dialogs/drun.c
+++ b/source/dialogs/drun.c
@@ -510,10 +510,15 @@ static int drun_mode_init ( Mode *sw )
"gnome",
NULL
};
+ const gchar *themes[2] = {
+ config.drun_icon_theme,
+ NULL
+ };
DRunModePrivateData *pd = g_malloc0 ( sizeof ( *pd ) );
pd->disabled_entries = g_hash_table_new_full ( g_str_hash, g_str_equal, g_free, NULL );
mode_set_private_data ( sw, (void *) pd );
pd->xdg_context = nk_xdg_theme_context_new ( drun_icon_fallback_themes, NULL );
+ nk_xdg_theme_preload_themes_icon ( pd->xdg_context, themes );
get_apps ( pd );
pd->icon_fetch_queue = g_async_queue_new ( );
}