diff --git a/deluge/ui/gtk3/aboutdialog.py b/deluge/ui/gtk3/aboutdialog.py index a7dff4948..2c4800ef7 100644 --- a/deluge/ui/gtk3/aboutdialog.py +++ b/deluge/ui/gtk3/aboutdialog.py @@ -21,7 +21,7 @@ from .common import get_deluge_icon, get_pixbuf class AboutDialog(object): def __init__(self): self.about = Gtk.AboutDialog() - self.about.set_transient_for(component.get('MainWindow').get_window()) + self.about.set_transient_for(component.get('MainWindow').window) self.about.set_position(Gtk.WindowPosition.CENTER) self.about.set_name(_('Deluge')) self.about.set_program_name(_('Deluge'))