petri-foo/Petri-Foo

Icon of Petri Foo is displayed way too large in NSM

Opened this issue · 1 comments

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