mirror of
https://github.com/lbonn/rofi
synced 2024-11-15 16:38:00 +00:00
drun: Actually use the icon theme setting
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
76a6e312fe
commit
b0fe6d3c6a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue