6548: 'Available Gramps Updates for Addons' window not on top
This commit is contained in:
parent
d2066537c7
commit
64a5626712
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user