Revision: 8913 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8913&view=rev Author: mdboom Date: 2011-01-13 13:57:12 +0000 (Thu, 13 Jan 2011)
Log Message: ----------- [3154456] confirm file overwrite (gtk) Modified Paths: -------------- branches/v1_0_maint/lib/matplotlib/backends/backend_gtk.py Modified: branches/v1_0_maint/lib/matplotlib/backends/backend_gtk.py =================================================================== --- branches/v1_0_maint/lib/matplotlib/backends/backend_gtk.py 2011-01-13 07:31:48 UTC (rev 8912) +++ branches/v1_0_maint/lib/matplotlib/backends/backend_gtk.py 2011-01-13 13:57:12 UTC (rev 8913) @@ -993,8 +993,9 @@ filetypes = [], default_filetype = None ): - super (FileChooserDialog, self).__init__ (title, parent, action, - buttons) + super(FileChooserDialog, self).__init__ (title, parent, action, + buttons) + super(FileChooserDialog, self).set_do_overwrite_confirmation(True) self.set_default_response (gtk.RESPONSE_OK) if not path: path = os.getcwd() + os.sep This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins