All pastes #942613 Raw Edit

Mine

public diff v1 · immutable
·published 2008-03-14 17:23 UTC
rendered paste body
Index: libtovid/metagui/gui.py===================================================================--- libtovid/metagui/gui.py (revision 2439)+++ libtovid/metagui/gui.py (working copy)@@ -410,6 +410,8 @@         self.tk.call('namespace', 'import', '::tk::dialog::file::')         self.tk.call('set', '::tk::dialog::file::showHiddenBtn',  '1')         self.tk.call('set', '::tk::dialog::file::showHiddenVar',  '0')+        # handle user closing window with window manager+        self.protocol("WM_DELETE_WINDOW", lambda:self.confirm_exit(self.apps[0]))     def run(self):         """Run the GUI"""