This is an automated email from the git hooks/post-receive script. malex-guest pushed a commit to branch master in repository pyscanfcs.
commit 36dda154c8b597286b86f87eb25b6028a1521adf Author: Alexandre Mestiashvili <[email protected]> Date: Mon Sep 8 10:42:45 2014 +0200 d/patches/wx-migration-tools.patch: Use wxpy30-update to create a patch that enables wxpython3.0 --- debian/patches/series | 1 + debian/patches/wx-migration-tools.patch | 42 +++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/debian/patches/series b/debian/patches/series index 441e32c..222b082 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ +wx-migration-tools.patch fix_module_location.patch diff --git a/debian/patches/wx-migration-tools.patch b/debian/patches/wx-migration-tools.patch new file mode 100644 index 0000000..80ef57e --- /dev/null +++ b/debian/patches/wx-migration-tools.patch @@ -0,0 +1,42 @@ +Author: Alex Mestiashvili <[email protected]> +Last-Update: Mon, 8 Sep 2014 10:41:28 +0200 +Bug-Debian: http://bugs.debian.org/759071 +Description: Use wxpy30-update to create a patch that enables wxpython3.0 +--- pyscanfcs.orig/pyscanfcs/PyScanFCS.py ++++ pyscanfcs/pyscanfcs/PyScanFCS.py +@@ -1525,7 +1525,7 @@ + """Import experimental data from a file.""" + dlg = wx.FileDialog(self, "Choose a fits file", self.dirname, "", + "FITS files (*.fits)|*.Fits;*.FITS;*.fits", +- wx.OPEN) ++ wx.FD_OPEN) + # user cannot do anything until he clicks "OK" + if dlg.ShowModal() == wx.ID_OK: + +@@ -1605,7 +1605,7 @@ + # File Dialog + dlg = wx.FileDialog(self, "Choose a data file", self.dirname, "", + "DAT files (*.dat)|*.dat;*.daT;*.dAt;*.dAT;*.Dat;*.DaT;*.DAt;*.DAT", +- wx.OPEN) ++ wx.FD_OPEN) + # user cannot do anything until he clicks "OK" + if dlg.ShowModal() == wx.ID_OK: + # Workaround for Ubuntu 12.10 since 0.2.0 +@@ -1640,7 +1640,7 @@ + newfilename = "" + dlg = wx.FileDialog(self, "Choose a data file", self.dirname, newfilename, + "FITS files (*.fits)|*.Fits;*.FITS;*.fits", +- wx.SAVE|wx.FD_OVERWRITE_PROMPT) ++ wx.FD_SAVE|wx.FD_OVERWRITE_PROMPT) + # user cannot do anything until he clicks "OK" + if dlg.ShowModal() == wx.ID_OK: + # Workaround for Ubuntu 12.10 since 0.2.0 +@@ -1714,7 +1714,7 @@ + newfilename = self.filename[:-4]+"_32bit.dat" + dlg = wx.FileDialog(self, "Choose a data file", self.dirname, newfilename, + "DAT files (*.dat)|*.dat;*.daT;*.dAt;*.dAT;*.Dat;*.DaT;*.DAt;*.DAT", +- wx.SAVE|wx.FD_OVERWRITE_PROMPT) ++ wx.FD_SAVE|wx.FD_OVERWRITE_PROMPT) + # user cannot do anything until he clicks "OK" + if dlg.ShowModal() == wx.ID_OK: + # Workaround for Ubuntu 12.10 since 0.2.0 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pyscanfcs.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
