Class: Installation::Widgets::OnlineRepos

Inherits:
CWM::PushButton
  • Object
show all
Defined in:
src/lib/installation/widgets/online_repos.rb

Overview

sets flag if online repositories dialog should be shown

Instance Method Summary collapse

Constructor Details

#initializeOnlineRepos

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

#handleObject



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

#labelObject



32
33
34
35
# File 'src/lib/installation/widgets/online_repos.rb', line 32

def label
  # TRANSLATORS: Push button label
  _("Configure Online Repositories")
end