Mailinglist Archive: yast-devel (85 mails)
| < Previous | Next > |
Re: [yast-devel] YaST Icons
- From: Johannes Meixner <jsmeix@xxxxxxx>
- Date: Wed, 18 Jul 2007 12:29:36 +0200 (CEST)
- Message-id: <Pine.LNX.4.64.0707181217160.30822@xxxxxxxxxxxxxx>
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#SetDesktopIcon
---------------------------------------------------------------------
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#SetDesktopIcon
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx
| < Previous | Next > |