Set the parent window of the about dialog

Fixes the screen positioning of the about
dialog.
This commit is contained in:
Thomas Perl 2010-02-05 20:18:44 +01:00
parent 37d66e12f1
commit 4791bd7244

View file

@ -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__)