Close button in about dialog now work
This commit is contained in:
parent
9b2e2eb746
commit
f36dddc8ef
|
@ -1346,7 +1346,7 @@ class AboutDialog:
|
|||
dlg.set_artists(artists)
|
||||
# connect close button to destroy() function
|
||||
for button in dlg.action_area.get_children():
|
||||
if button.get_property('label') == Gtk.STOCK_CLOSE:
|
||||
if button.get_property('label') == "_Close":
|
||||
button.connect('clicked', lambda x:dlg.destroy())
|
||||
dlg.show_all()
|
||||
|
||||
|
|
Loading…
Reference in New Issue