mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05:00
Add small debug for unfound icons
This commit is contained in:
parent
1e0fb75189
commit
a43e4e5b12
1 changed files with 1 additions and 0 deletions
|
@ -443,6 +443,7 @@ static gpointer drun_icon_fetch ( gpointer data )
|
||||||
}
|
}
|
||||||
gchar *icon_path = nk_xdg_theme_get_icon ( pd->xdg_context, NULL, "Applications", dr->icon_name, dr->icon_size, 1, TRUE );
|
gchar *icon_path = nk_xdg_theme_get_icon ( pd->xdg_context, NULL, "Applications", dr->icon_name, dr->icon_size, 1, TRUE );
|
||||||
if ( icon_path == NULL ) {
|
if ( icon_path == NULL ) {
|
||||||
|
g_log ( G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Failed to get Icon %s(%d): n/a", dr->icon_name, dr->icon_size );
|
||||||
g_free ( dr->icon_name );
|
g_free ( dr->icon_name );
|
||||||
dr->icon_name = NULL;
|
dr->icon_name = NULL;
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue