Module: Yast::PackagerInstSourceDialogsInclude

Defined in:
src/include/packager/inst_source_dialogs.rb

Overview

Purpose: Displays possibilities to install from NFS, CD or partion Do the “mount” for testing the input.

Instance Method Summary collapse

Instance Method Details

#editUrl(url) ⇒ Object


20
21
22
# File 'src/include/packager/inst_source_dialogs.rb', line 20

def editUrl(url)
  SourceDialogs.EditPopup(url)
end

#editUrl2(url, allowHttps) ⇒ Object


16
17
18
# File 'src/include/packager/inst_source_dialogs.rb', line 16

def editUrl2(url, allowHttps)
  allowHttps ? SourceDialogs.EditPopup(url) : SourceDialogs.EditPopupNoHTTPS(url)
end

#initialize_packager_inst_source_dialogs(_include_target) ⇒ Object


8
9
10
11
12
13
14
# File 'src/include/packager/inst_source_dialogs.rb', line 8

def initialize_packager_inst_source_dialogs(_include_target)
  textdomain "packager"

  Yast.import "Label"
  Yast.import "URL"
  Yast.import "SourceDialogs"
end