drun: Actually use the icon theme setting

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Quentin Glidic 2017-06-02 21:35:26 +02:00
parent 76a6e312fe
commit b0fe6d3c6a
No known key found for this signature in database
GPG key ID: AC203F96E2C34BB7

View file

@ -447,7 +447,7 @@ static gpointer drun_icon_fetch ( gpointer data )
if ( dr->icon_name == NULL ) { if ( dr->icon_name == NULL ) {
continue; continue;
} }
gchar *icon_path = nk_xdg_theme_get_icon ( pd->xdg_context, NULL, "Applications", dr->icon_name, 32, 1, TRUE ); gchar *icon_path = nk_xdg_theme_get_icon ( pd->xdg_context, config.drun_icon_theme, "Applications", dr->icon_name, 32, 1, TRUE );
if ( icon_path == NULL ) { if ( icon_path == NULL ) {
g_free ( dr->icon_name ); g_free ( dr->icon_name );
dr->icon_name = NULL; dr->icon_name = NULL;