[yast-commit] r42643 - /trunk/yast2/library/modules/Icon.ycp
![](https://seccdn.libravatar.org/avatar/2e1a2d7374f0eeb790839676bdd1123a.jpg?s=120&d=mm&r=g)
Author: locilka Date: Tue Dec 4 09:48:54 2007 New Revision: 42643 URL: http://svn.opensuse.org/viewcvs/yast?rev=42643&view=rev Log: Added Icon::Warning(), Icon::Error(), Icon::Info() Modified: trunk/yast2/library/modules/Icon.ycp Modified: trunk/yast2/library/modules/Icon.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/modules/Icon.ycp?re... ============================================================================== --- trunk/yast2/library/modules/Icon.ycp (original) +++ trunk/yast2/library/modules/Icon.ycp Tue Dec 4 09:48:54 2007 @@ -125,5 +125,32 @@ return Image (icon_type, $[]); } + /** + * Returns UI term `Image() widget with a warning-icon. + * + * @return term warning icon + */ + global term Warning () { + return Image ("warning", $[]); + } + + /** + * Returns UI term `Image() widget with an error-icon. + * + * @return term error-icon + */ + global term Error () { + return Image ("error", $[]); + } + + /** + * Returns UI term `Image() widget with an info-icon. + * + * @return term info icon + */ + global term Info () { + return Image ("info", $[]); + } + /* EOF */ } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
locilka@svn.opensuse.org