diff --git a/src/plugins/gui.py b/src/plugins/gui.py
index 5c48eae716f9d18868e18a017f13944b55b3e2ba..35a7e66e15d9231b40ccaf84e0048141039b28c9 100644
--- a/src/plugins/gui.py
+++ b/src/plugins/gui.py
@@ -166,7 +166,8 @@ class PluginsWindow(object):
             try:
                 gajim.plugin_manager.activate_plugin(plugin)
             except GajimPluginActivateException, e:
-                WarningDialog(_('Plugin failed'), str(e))
+                WarningDialog(_('Plugin failed'), str(e),
+                    transient_for=self.window)
                 return
 
         self.installed_plugins_model[path][2] = not is_active