mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 17:54:15 +02:00
[snap] improvement: do not request confirmation dialog for custom action 'Change channel'
This commit is contained in:
@@ -55,7 +55,8 @@ class SnapManager(SoftwareManager):
|
|||||||
i18n_confirm_key='snap.action.channel.confirm',
|
i18n_confirm_key='snap.action.channel.confirm',
|
||||||
icon_path=resource.get_path('img/refresh.svg', ROOT_DIR),
|
icon_path=resource.get_path('img/refresh.svg', ROOT_DIR),
|
||||||
manager_method='change_channel',
|
manager_method='change_channel',
|
||||||
requires_root=True)
|
requires_root=True,
|
||||||
|
requires_confirmation=False)
|
||||||
]
|
]
|
||||||
|
|
||||||
def _fill_categories(self, app: SnapApplication):
|
def _fill_categories(self, app: SnapApplication):
|
||||||
|
|||||||
Reference in New Issue
Block a user