mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[arch] improvement: text length of the 'dependencies installation' popup reduced
This commit is contained in:
@@ -2075,7 +2075,7 @@ class ArchManager(SoftwareManager):
|
||||
def _ask_and_install_missing_deps(self, context: TransactionContext, missing_deps: List[Tuple[str, str]]) -> bool:
|
||||
context.watcher.change_substatus(self.i18n['arch.missing_deps_found'].format(bold(context.name)))
|
||||
|
||||
if not confirmation.request_install_missing_deps(context.name, missing_deps, context.watcher, self.i18n):
|
||||
if not confirmation.request_install_missing_deps(missing_deps, context.watcher, self.i18n):
|
||||
context.watcher.print(self.i18n['action.cancelled'])
|
||||
return False
|
||||
|
||||
@@ -2265,7 +2265,8 @@ class ArchManager(SoftwareManager):
|
||||
|
||||
sorted_deps = sorting.sort(to_sort, {**deps_data, **subdeps_data}, provided_map)
|
||||
|
||||
if display_deps_dialog and not confirmation.request_install_missing_deps(None, sorted_deps, context.watcher, self.i18n):
|
||||
if display_deps_dialog and not confirmation.request_install_missing_deps(sorted_deps, context.watcher,
|
||||
self.i18n):
|
||||
context.watcher.print(self.i18n['action.cancelled'])
|
||||
return True # because the main package installation was successful
|
||||
|
||||
|
||||
Reference in New Issue
Block a user