Hi, IMHO the icon part is better, but is not finished. I think we must continue working on it, to avoid the multiple icon creation/deletion for an application. In this way, the winspector.c file creates and deletes the applicaiton icon (see makeAppIcon and destroyAppIcon). In this way, I think we need split the icon creation & icon painting / icon deletion & icon "un-painting". IMO, the winspector.c should show or hide the application, not create/delete it. With this part done, we can remove icon resizing in switchpanel.c, tests if the appicon exists,...
The menu could be better. First, probably we should remove the gcc, using an small functions (see other mails in the mail list about it). Probably we should think about maintaining the menu using blacklists? and whitelists? to be distro-compatible. Something like, read the distro menu (if exists), then remove the menus included in the blacklist (other file with menu, check with string comparison) and add the menus included in the whitelist (other menu file). Of course, the whitelist and blacklist are in the user configuration folder. Finish, there are work about "code clean". Some files have old code, commented, code dup,.. What do you think about these (and other) comments. Best Regards, kix -- ||// //\\// Rodolfo "kix" Garcia ||\\// //\\ http://www.kix.es/ -- To unsubscribe, send mail to [email protected].
