filesystem restore patch
"Jerad Clark" <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <[email protected]> |
>From the filesystem when you choose restore, the dialog allowed "Zip files" and "All Files", although it would fail on non-zipfiles. So, I removed the "All Files" option and have included the appropriate patch. I also included a new image file for this particular warning for inclusion in the help files. Jerad ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ BitPim-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bitpim-devel
patch-filesystem.py.txt
(text/plain, 591 B)
Index: C:/projects2/bitpim/src/filesystem.py
===================================================================
--- C:/projects2/bitpim/src/filesystem.py (revision 3496)
+++ C:/projects2/bitpim/src/filesystem.py (working copy)
@@ -802,7 +802,7 @@
if len(bn)<1:
bn="root"
bn+=".zip"
- ext="Zip files|*.zip|All Files|*"
+ ext="Zip files|*.zip"
dlg=wx.FileDialog(self, "Open backup file", defaultFile=bn, wildcard=ext,
style=wx.OPEN|wx.HIDE_READONLY|wx.CHANGE_DIR)
if dlg.ShowModal()!=wx.ID_OK:
screen-isnotavalidzip.png
(image/png, 8.7 KB) - not displayed