[yast-devel] yast2: added Popup.Feedback()
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 lslezak@suse.com SUSE -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (1)
-
Ladislav Slezak