Browse Source

Add 128x128 hicolor as possible icon path

128 / 32 = 4, so it scales cleanly

Fixes showing icon for zynaddsubfx and carla
tags/non-daw-v1.3.0
falkTX Jonathan Moore Liles 3 years ago
parent
commit
55de086026
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      session-manager/src/session-manager.C

+ 2
- 1
session-manager/src/session-manager.C View File

@@ -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…
Cancel
Save