From f36dddc8efab1bc3c9e3af4eeb6d54c7f06ddb38 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 23 Mar 2014 11:37:17 +0100 Subject: [PATCH] Close button in about dialog now work --- src/dialogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs.py b/src/dialogs.py index 662035a5f..d540a0ead 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -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()