Hi all,
I have added new method Popup.Feedback() to yast2-3.1.26
(see details in https://github.com/yast/yast-yast2/pull/194)
Basically it's a safe wrapper around ShowFeedback() and ClearFeedback(),
it uses "ensure" block, the popup is automatically closed at the end
(even when an exception is raised in the code).
So instead of
Popup.ShowFeedback("loading FOO", "please wait...")
sleep 10
Popup.ClearFeedback
use
Popup.Feedback("loading FOO", "please wait...") do
sleep 10
end
Enjoy!
--
Ladislav Slezák
Appliance department / YaST Developer
Lihovarská 1060/12
190 00 Prague 9 / Czech Republic
tel: +420 284 028 960
[email protected]
SUSE
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]