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)
|
dlg.set_artists(artists)
|
||||||
# connect close button to destroy() function
|
# connect close button to destroy() function
|
||||||
for button in dlg.action_area.get_children():
|
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())
|
button.connect('clicked', lambda x:dlg.destroy())
|
||||||
dlg.show_all()
|
dlg.show_all()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue