Mailinglist Archive: yast-devel (122 mails)

< Previous Next >
Re: [yast-devel] New YCP module: Icon
  • From: Lukas Ocilka <lukas.ocilka@xxxxxxx>
  • Date: Tue, 04 Dec 2007 10:09:39 +0100
  • Message-id: <47551953.7090701@xxxxxxx>
Lukas Ocilka napsal(a):
Jiří Suchomel napsal(a):
This is how Icon module deals with it:
Icon::Simple ("warning") -> returns UI term
Icon::Simple ("error") -> returns UI term
Could you create also the shortcuts like
Icon::SimpleWarning
Icon::SimpleError

(or even Icon::Warning etc. if you don't intend to make Icon::Complex)

Good idea, thanks. These new functions have been added just now:

* Icon::Warning()
* Icon::Error()
* Icon::Info()

--- simple example ---
...
--- simple example ---

BTW: That related wiki page has been updated:
http://en.opensuse.org/YaST/Development/Modules/Icon

Have a nice day
L.


< Previous Next >