summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2007-12-29 03:40:31 +0100
committerGuillaume Seguin <guillaume@segu.in>2007-12-29 03:40:31 +0100
commit5a3758d7176fefb085ab692f88dc036daaa7dc13 (patch)
tree75af2035a9891b3f8989c646efc81adf66b7a873
parent82f9745764cbc6d4869d24e9cc46e2a69f2d2112 (diff)
downloadgnome-about-5a3758d7176fefb085ab692f88dc036daaa7dc13.tar.gz
gnome-about-5a3758d7176fefb085ab692f88dc036daaa7dc13.tar.bz2
* Connect gtk.main_quit to "destroy" signal instead of "delete-event"
-rwxr-xr-xgnome-about.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnome-about.py b/gnome-about.py
index 90a9f24..0252868 100755
--- a/gnome-about.py
+++ b/gnome-about.py
@@ -1079,7 +1079,7 @@ class GnomeAbout (gtk.Dialog):
self.set_position (gtk.WIN_POS_CENTER)
map (lambda prop: self.set_property (prop[0], prop[1]),
[("allow-grow", False), ("allow-shrink", False)])
- self.connect ("delete-event", gtk.main_quit)
+ self.connect ("destroy", gtk.main_quit)
self.connect ("response", self.response_callback)
def gnome_version (self):