From a445e3c44e55e73a80edcbe313efea252734894c Mon Sep 17 00:00:00 2001
From: Denis Fomin <fominde@gmail.com>
Date: Tue, 24 Sep 2013 17:03:30 +0400
Subject: [PATCH] Set transient_for for 'Plugin already exists'

---
 src/plugins/gui.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/gui.py b/src/plugins/gui.py
index 204b7eaa6b..34a6135470 100644
--- a/src/plugins/gui.py
+++ b/src/plugins/gui.py
@@ -284,7 +284,7 @@ class PluginsWindow(object):
                 sel.select_iter(iter_)
 
             YesNoDialog(_('Plugin already exists'), sectext=_('Overwrite?'),
-                on_response_yes=on_yes)
+                on_response_yes=on_yes, transient_for=self.window)
 
         def _try_install(zip_filename):
             try:
-- 
GitLab