Package: pyscrabble / 1.6.2-10

about_close.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Author: Magnus Holmgren <holmgren@debian.org>
Description: Make the Close button in the About dialog work

diff -urNad trunk~/pyscrabble/gtkutil.py trunk/pyscrabble/gtkutil.py
--- trunk~/pyscrabble/gtkutil.py	2006-12-05 15:49:00.000000000 +0100
+++ trunk/pyscrabble/gtkutil.py	2007-10-03 16:30:51.000000000 +0200
@@ -73,6 +73,7 @@
     dialog.set_translator_credits(_('translator-credits'))
     gtk.about_dialog_set_url_hook(util.showUrl, data=constants.ONLINE_SITE)
     dialog.set_version(constants.VERSION)
+    dialog.connect("response", lambda d, r: d.destroy())
     dialog.show()
 
 def getSelectedItem(view, col):