repair |
OSRPkgUI.ycp |
Packages check UI | |
|
|
This module has an unstable interface. |
Symbol and key's for the widget comunication
All allowed rpm test options with description.
True if the user have paused the verifying process.
Show successful package checks too.
Summary text of all passed and not passed packages.
Summary text of the not passed packages only.
Count of packages which should be checked.
Dialogs for expert and normal mode.
If expert is activated.
if current UI can use `DownloadProgress
packages that should be reinstalled after verification (only helper structure, for showing list in dialogs)
Reset all (not static) module settings.
Constructor- reset module settings.
Fill a string with the specified character. Used in ncurses mode for formatting.
- Parameters:
-
str length c
Return the current dialog ( expert or normal dialog).
Repaint the displayed text depending on the show_ok value (CheckBox Show all).
Switch between expert and normal mode.
- Parameters:
-
t_expert_mode
Build string: Checking package: (43/234)
Create to dialogs. One for the expert user mode and one for the normal user mode. Save both dialogs in the list dialogs for later use.
- Parameters:
-
headline
Open the main dialog depending on the values t_expert_mode (expert_mode).
- Parameters:
-
size_progress headline t_expert_mode
Generate a key for a package without error.
- Parameters:
-
pkg_name
Decode the package name from a key for a package without error.
- Parameters:
-
input
'translate' booleqan to string which can be shown in dialogs
- Parameters:
-
val
Update the list of files, which failed during package verification returns contents of the richtext
- Parameters:
-
pkg_name pkg_data
Add a new package entry to the internal list and the displayed text. Update the process bar too. Afterwards call repaint define.
- Parameters:
-
pkg_name
Show the complete ouptput of package verification (in the summary, it is limited to OSRPkgVerify::max_files entries)
- Parameters:
-
pkg_name
popup with the summary of the package
- Parameters:
-
pkg_name
Toggle the pause button between pause and continue.
Eval the user input.
- Parameters:
-
input
update the item list of 'missing_packages' with the ones selected to reinstall by user during verification
- Parameters:
-
item_list check
Finish the dialog.