mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
drun: Use the requested icon size for lookup
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
9b3a60928f
commit
726d940eca
1 changed files with 1 additions and 1 deletions
|
@ -472,7 +472,7 @@ static gpointer drun_icon_fetch ( gpointer data )
|
|||
if ( dr->icon_name == NULL ) {
|
||||
continue;
|
||||
}
|
||||
gchar *icon_path = nk_xdg_theme_get_icon ( pd->xdg_context, themes, NULL, dr->icon_name, 32, 1, TRUE );
|
||||
gchar *icon_path = nk_xdg_theme_get_icon ( pd->xdg_context, themes, NULL, dr->icon_name, dr->icon_size, 1, TRUE );
|
||||
if ( icon_path == NULL ) {
|
||||
g_debug ( "Failed to get Icon %s(%d): n/a", dr->icon_name, dr->icon_size );
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue