Close button in about dialog now work

This commit is contained in:
Yann Leboulanger 2014-03-23 11:37:17 +01:00
parent 9b2e2eb746
commit f36dddc8ef
1 changed files with 1 additions and 1 deletions

View File

@ -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()