1
0
Fork 0
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:
Dave Davenport 2017-06-02 18:20:31 +02:00
parent 1e0fb75189
commit a43e4e5b12

View file

@ -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;