Philipp Hörist pushed to branch mainwindow at gajim / gajim


Commits:
f1384081 by lovetox at 2021-02-07T21:14:43+01:00
Fix transients

- - - - -


4 changed files:

- gajim/gtk/about.py
- gajim/gtk/features.py
- gajim/gtk/pep_config.py
- gajim/gtk/status_change.py


Changes:

=====================================
gajim/gtk/about.py
=====================================
@@ -31,7 +31,7 @@
 class AboutDialog(Gtk.AboutDialog):
     def __init__(self):
         Gtk.AboutDialog.__init__(self)
-        self.set_transient_for(app.interface.roster.window)
+        self.set_transient_for(app.window)
         self.set_name('Gajim')
         self.set_version(app.version)
         self.set_copyright('Copyright © 2003-2021 Gajim Team')


=====================================
gajim/gtk/features.py
=====================================
@@ -39,7 +39,7 @@ def __init__(self):
         self.set_name('Features')
         self.set_title(_('Features'))
         self.set_resizable(False)
-        self.set_transient_for(app.interface.roster.window)
+        self.set_transient_for(app.window)
 
         grid = Gtk.Grid()
         grid.set_name('FeaturesInfoGrid')


=====================================
gajim/gtk/pep_config.py
=====================================
@@ -40,7 +40,7 @@ def __init__(self, account):
         self.set_name('PEPConfig')
         self.set_default_size(500, 350)
         self.set_resizable(True)
-        self.set_transient_for(app.interface.roster.window)
+        self.set_transient_for(app.window)
 
         self._ui = get_builder('manage_pep_services_window.ui')
         self.add(self._ui.manage_pep_services)


=====================================
gajim/gtk/status_change.py
=====================================
@@ -58,7 +58,7 @@ def __init__(self, callback=None, account=None, status=None, 
show_pep=True):
         self.set_position(Gtk.WindowPosition.CENTER)
         self.set_default_size(400, 350)
         self.set_show_menubar(False)
-        self.set_transient_for(app.interface.roster.window)
+        self.set_transient_for(app.window)
         self.title_text = _('Status Message')  # TimeoutWindow
 
         self.account = account



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/f138408101c9023cba348bfdf8d12ed0532ff411

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/f138408101c9023cba348bfdf8d12ed0532ff411
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to