Add 128x128 hicolor as possible icon path
128 / 32 = 4, so it scales cleanly Fixes showing icon for zynaddsubfx and carla
This commit is contained in:
parent
7565be85fb
commit
55de086026
|
@ -86,6 +86,7 @@ get_program_icon ( const char *name )
|
|||
"/usr/local/share/pixmaps/%s.png",
|
||||
"/usr/local/share/pixmaps/%s.xpm",
|
||||
"/usr/share/icons/hicolor/32x32/apps/%s.png",
|
||||
"/usr/share/icons/hicolor/128x128/apps/%s.png",
|
||||
"/usr/share/pixmaps/%s.png",
|
||||
"/usr/share/pixmaps/%s.xpm",
|
||||
};
|
||||
|
@ -96,7 +97,7 @@ get_program_icon ( const char *name )
|
|||
|
||||
asprintf( &icon_p, tries[i], name );
|
||||
|
||||
Fl_Image *img = Fl_Shared_Image::get( icon_p );
|
||||
Fl_Image *img = Fl_Shared_Image::get( icon_p, 32, 32 );
|
||||
|
||||
free( icon_p );
|
||||
|
||||
|
|
Loading…
Reference in New Issue