[plugin_installer] Update plugins directly without showing window first
This commit is contained in:
@@ -128,8 +128,7 @@ class PluginInstaller(GajimPlugin):
|
|||||||
def _open_update(is_checked):
|
def _open_update(is_checked):
|
||||||
if is_checked:
|
if is_checked:
|
||||||
self.config['auto_update'] = True
|
self.config['auto_update'] = True
|
||||||
get_action('plugins').activate()
|
self._download_plugins(plugins)
|
||||||
self._available_page.show_page()
|
|
||||||
|
|
||||||
plugins_str = '\n' + '\n'.join([plugin.name for plugin in plugins])
|
plugins_str = '\n' + '\n'.join([plugin.name for plugin in plugins])
|
||||||
NewConfirmationCheckDialog(
|
NewConfirmationCheckDialog(
|
||||||
|
|||||||
Reference in New Issue
Block a user