Class: Packages::FileConflictCallbacks
- Inherits:
-
Object
- Object
- Packages::FileConflictCallbacks
- 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
Class Method Summary collapse
-
.register ⇒ Object
register the file conflict callbacks.
Class Method Details
.register ⇒ Object
register the file conflict callbacks
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'library/packages/src/lib/packages/file_conflict_callbacks.rb', line 28 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" create_delayed_progress_popup unless Yast::Mode.commandline register_file_conflict_callbacks end |