From 64a56267124886ac205da5ed7eaf7270055220fa Mon Sep 17 00:00:00 2001 From: Josip Date: Sat, 5 Apr 2014 02:54:13 +0200 Subject: [PATCH] 6548: 'Available Gramps Updates for Addons' window not on top --- gramps/gui/plug/_windows.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gramps/gui/plug/_windows.py b/gramps/gui/plug/_windows.py index 656753eff..dcdfdaa2c 100644 --- a/gramps/gui/plug/_windows.py +++ b/gramps/gui/plug/_windows.py @@ -72,6 +72,7 @@ from ..glade import Glade from ..listmodel import ListModel, NOSORT, TOGGLE from gramps.gen.utils.file import get_unicode_path_from_file_chooser from gramps.gen.const import URL_WIKISTRING, USER_HOME, WIKI_EXTRAPLUGINS_RAWDATA +from gramps.gen.constfunc import win from gramps.gen.config import config from ..widgets.progressdialog import (LongOpStatus, ProgressMonitor, GtkProgressDialog) @@ -1081,6 +1082,9 @@ class UpdateAddons(ManagedWindow): self.title) self.window.set_size_request(750, 400) + if win() and Gtk.get_minor_version() < 11: + self.window.set_transient_for(self.window.get_toplevel()) + apply_button = glade.get_object('apply') cancel_button = glade.get_object('cancel') select_all = glade.get_object('select_all')