mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-21 16:59:50 +00:00
[GTK3] Fix About 'MainWindow' object has no attribute 'get_window'
This commit is contained in:
parent
bbb1b44a23
commit
0ace086de4
@ -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…
x
Reference in New Issue
Block a user