Browse Source

Add 128x128 hicolor as possible icon path

128 / 32 = 4, so it scales cleanly

Signed-off-by: falkTX <falktx@falktx.com>
tags/v1.4.0
falkTX 4 years ago
parent
commit
ed722c9f14
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/legacy-gui.cpp

+ 2
- 1
src/legacy-gui.cpp View File

@@ -90,6 +90,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",
};
@@ -100,7 +101,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