Set the parent window of the about dialog
Fixes the screen positioning of the about dialog.
This commit is contained in:
parent
37d66e12f1
commit
4791bd7244
1 changed files with 1 additions and 0 deletions
|
@ -3211,6 +3211,7 @@ class gPodder(BuilderWidget, dbus.service.Object):
|
|||
|
||||
def on_itemAbout_activate(self, widget, *args):
|
||||
dlg = gtk.AboutDialog()
|
||||
dlg.set_transient_for(self.main_window)
|
||||
dlg.set_name('gPodder')
|
||||
dlg.set_version(gpodder.__version__)
|
||||
dlg.set_copyright(gpodder.__copyright__)
|
||||
|
|
Loading…
Reference in a new issue