|
From: <md...@us...> - 2011-01-13 13:58:43
|
Revision: 8914
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8914&view=rev
Author: mdboom
Date: 2011-01-13 13:58:37 +0000 (Thu, 13 Jan 2011)
Log Message:
-----------
Merged revisions 8913 via svnmerge from
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v1_0_maint
........
r8913 | mdboom | 2011-01-13 08:57:12 -0500 (Thu, 13 Jan 2011) | 2 lines
[3154456] confirm file overwrite (gtk)
........
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py
Property Changed:
----------------
trunk/matplotlib/
Property changes on: trunk/matplotlib
___________________________________________________________________
Modified: svnmerge-integrated
- /branches/mathtex:1-7263 /branches/v0_91_maint:1-6428 /branches/v0_98_5_maint:1-7253 /branches/v1_0_maint:1-8911 /trunk/matplotlib:1-7315
+ /branches/mathtex:1-7263 /branches/v0_91_maint:1-6428 /branches/v0_98_5_maint:1-7253 /branches/v1_0_maint:1-8913 /trunk/matplotlib:1-7315
Modified: trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py 2011-01-13 13:57:12 UTC (rev 8913)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py 2011-01-13 13:58:37 UTC (rev 8914)
@@ -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.
|