Class: Installation::Widgets::OnlineRepos
- Inherits:
-
CWM::PushButton
- Object
- CWM::PushButton
- Installation::Widgets::OnlineRepos
- Defined in:
- src/lib/installation/widgets/online_repos.rb
Overview
sets flag if online repositories dialog should be shown
Instance Method Summary collapse
- #handle ⇒ Object
-
#initialize ⇒ OnlineRepos
constructor
A new instance of OnlineRepos.
- #label ⇒ Object
Constructor Details
#initialize ⇒ OnlineRepos
Returns a new instance of OnlineRepos.
27 28 29 30 |
# File 'src/lib/installation/widgets/online_repos.rb', line 27 def initialize super textdomain "installation" end |
Instance Method Details
#handle ⇒ Object
37 38 39 40 41 |
# File 'src/lib/installation/widgets/online_repos.rb', line 37 def handle Yast::WFM.CallFunction("inst_productsources", [{ "script_called_from_another" => true }]) :redraw end |
#label ⇒ Object
32 33 34 35 |
# File 'src/lib/installation/widgets/online_repos.rb', line 32 def label # TRANSLATORS: Push button label _("Configure Online Repositories") end |