This is a patch file for "mathtables" 0.3.5. This file fixes a problem with the program's About screen. Details: If the release in question is used with newer versions of "gtk", the Close button on the About screen doesn't work. The problem occurs because the About screen uses "pygtk's" version of a "gtk" dia- log named GtkAboutDialog, and the characteristics of GtkAboutDialog have changed. Specifically, GtkAboutDialog expects the programmer to process close-button events explicitly, and the old About-screen code doesn't take this into account. The following changes correct the problem. --- mathtables-0.3.5.old/src/glade/main.glade +++ mathtables-0.3.5/src/glade/main.glade @@ -1554,6 +1554,7 @@ ColCan Pedro I. Sanchez (psanchez@colcan.biz) translator-credits + --- mathtables-0.3.5.old/src/modules/gui.py +++ mathtables-0.3.5/src/modules/gui.py @@ -42,6 +42,11 @@ if self.name is not None: self.me = gtk.glade.XML(session.gladefile, self.name) self.me.signal_autoconnect(self.dic) + self.me.signal_connect('on_close_about', self.CloseAbout) + self.aboutdlg = self.me.get_widget('about_window') + + def CloseAbout(self,*args): + self.aboutdlg.hide() def cancel(self, widget): self.me.get_widget(self.name).destroy()