mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
[GTK3] Fix About 'MainWindow' object has no attribute 'get_window'
This commit is contained in:
parent
bbb1b44a23
commit
0ace086de4
1 changed files with 1 additions and 1 deletions
|
@ -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'))
|
||||
|
|
Loading…
Add table
Reference in a new issue