Hello, On Jul 10 16:56 Lukas Ocilka wrote (shortened):
I've found out that some YaST modules use icons that are not present in the "current" YaST theme.
Because it's seemed to be impossible to find all manually (and it also didn't make any sense) I wrote a script that runs through all .ycp and .desktop files for "Icon".
I used it to check the yast2-scanner module and I was puzzled because it didn't show an error because I have in the code Wizard::SetDesktopIcon("scanner"); but there is no such file in /usr/share/YaST2/theme/current/icons There is only /usr/share/YaST2/theme/current/icons/48x48/apps/yast-scanner.png /usr/share/YaST2/theme/current/icons/22x22/apps/yast-scanner.png /usr/share/YaST2/theme/current/icons/32x32/apps/yast-scanner.png According to http://forgeftp.novell.com/yast/doc/SL10.2/modules/Wizard.html#SetDesktopIco... --------------------------------------------------------------------- 259.2.63. SetDesktopIcon Set Desktop Icon Function parameters * string file Return value * boolean - true on success --------------------------------------------------------------------- it seems Wizard::SetDesktopIcon needs a file name. But your script indicates that there is some optional YaST magic how it finds a suitable icon file. It would be nice if such magic is described in http://forgeftp.novell.com/yast/doc/SL10.2/modules/Wizard.html#SetDesktopIco... Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org