Class: Packages::FileConflictCallbacks

Inherits:
Object
  • Object
show all
Extended by:
Yast::I18n, Yast::Logger, Yast::UIShortcuts
Defined in:
library/packages/src/lib/packages/file_conflict_callbacks.rb

Overview

Default file conflicts callbacks for package bindings. To register the callbacks in Yast::Pkg just call FileConflictCallbacks.register

Constant Summary

PKG_INSTALL_WIDGET =

Widget ID (created by other code)

:progressCurrentPackage

Class Method Summary collapse

Class Method Details

.registerObject

register the file conflict callbacks



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'library/packages/src/lib/packages/file_conflict_callbacks.rb', line 31

def register
  Yast.import "Pkg"
  Yast.import "UI"
  Yast.import "Progress"
  Yast.import "Mode"
  Yast.import "CommandLine"
  Yast.import "Report"
  Yast.import "Label"
  Yast.import "PackageCallbacks"
  Yast.import "Wizard"

  textdomain "base"

  register_file_conflict_callbacks
end