[arch] improvement: not displaying a confirmation dialog for the custom action 'Refresh mirrors'

This commit is contained in:
Vinicius Moreira
2021-12-15 16:00:33 -03:00
parent c3f98eab60
commit 4d1757dbf9

View File

@@ -3027,7 +3027,8 @@ class ArchManager(SoftwareManager):
manager_method='refresh_mirrors', manager_method='refresh_mirrors',
icon_path=get_icon_path(), icon_path=get_icon_path(),
requires_root=True, requires_root=True,
manager=self), manager=self,
requires_confirmation=False),
'clean_cache': CustomSoftwareAction(i18n_label_key='arch.custom_action.clean_cache', 'clean_cache': CustomSoftwareAction(i18n_label_key='arch.custom_action.clean_cache',
i18n_status_key='arch.custom_action.clean_cache.status', i18n_status_key='arch.custom_action.clean_cache.status',
manager_method='clean_cache', manager_method='clean_cache',