From: <md...@us...> - 2011-01-13 13:57:18
|
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. |