Skip to content
Snippets Groups Projects
Commit 7c161d00 authored by Linus's avatar Linus
Browse files

plugin_installer: Fix potential crash on cert verify failure

parent 8574c1aa
No related branches found
No related tags found
1 merge request!41Improved error messages
......@@ -317,7 +317,9 @@ class PluginInstaller(GajimPlugin):
for i in range(len(self.available_plugins_model)):
self.available_plugins_model[i][C_UPGRADE] = False
self.progressbar.hide()
WarningDialog(_('Ftp error'), error_text, self.window)
def warn():
WarningDialog(_('Ftp error'), error_text, self.window)
GLib.idle_add(warn)
def on_plugin_downloaded(self, widget, plugin_dirs):
dialog = HigDialog(None, Gtk.MessageType.INFO, Gtk.ButtonsType.OK,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment