Hi,I did this experimental patch. I sent it compressed because I want to explain it (using my poor english).
The idea of this patch is break the current icon creation. Now, when a new aplication is launched, the function wApplicationCreate is called, then it search an icon (extractIcon function), then check if the application needs an icon (no_appicon set) and then create the application icon, save it (again??) and paint it.
IMO this is an error. The application should create the icon allways, then save it (if was not previously created), and then check if the application needs appicon (no_appicon set) then paint or not it.
To do it, I created two patches. The first patch breaks the dependency between create+paint an icon. Now, if we create an icon, we call "wIconCreate". If we needs paint it, then calls "paint_icon".
The second patch do the main work. The application is created, calls to wApplicationCreate, create the icon, save it, check if no_appicon is needed, then calls paint_appicon.
Now, the icon in the switchpanel shows the icon, always, and the icon in the appicon is the the same icon.
I tested the patch, and I am happy with it, but IMO more people should check it before upload it to the git. Is a big change. Carlos, perhaps now yast2 show the icon.
Please, try the patch. Thanks! kix -- ||// //\\// Rodolfo "kix" Garcia ||\\// //\\ http://www.kix.es/
exp.tgz
Description: application/compressed-tar
