petri-foo / Petri-Foo

A fork of the Specimen Sampler.
http://petri-foo.sourceforge.net
GNU General Public License v2.0
29 stars 7 forks source link

Icon of Petri Foo is displayed way too large in NSM #18

Open grammoboy2 opened 11 years ago

grammoboy2 commented 11 years ago

http://pix.toile-libre.org/upload/original/1367417060.png

KimSJ commented 10 years ago

Easy fix:

--- a/session-manager/src/session-manager.C
+++ b/session-manager/src/session-manager.C
@@ -96,7 +99,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 );