[Python-apps-commits] r11599 - in packages/whyteboard/trunk/debian/patches (1 file)
sramacher at users.alioth.debian.org
sramacher at users.alioth.debian.org
Sat Nov 22 15:53:58 UTC 2014
Date: Saturday, November 22, 2014 @ 15:53:57
Author: sramacher
Revision: 11599
Refresh patch to make it apply
Modified:
packages/whyteboard/trunk/debian/patches/01_wxpy3.0-compat.patch
Modified: packages/whyteboard/trunk/debian/patches/01_wxpy3.0-compat.patch
===================================================================
--- packages/whyteboard/trunk/debian/patches/01_wxpy3.0-compat.patch 2014-11-22 15:48:36 UTC (rev 11598)
+++ packages/whyteboard/trunk/debian/patches/01_wxpy3.0-compat.patch 2014-11-22 15:53:57 UTC (rev 11599)
@@ -63,23 +63,23 @@
--- a/whyteboard/gui/panels.py
+++ b/whyteboard/gui/panels.py
@@ -485,7 +485,7 @@
- if self.directory:
- _dir = self.directory
-
-- name = file_dialog(self, _("Choose a media file"), wx.OPEN, wildcard, _dir)
-+ name = file_dialog(self, _("Choose a media file"), wx.FD_OPEN, wildcard, _dir)
- if name:
- self.do_load_file(name)
-
+ if self.directory:
+ _dir = self.directory
+
+- name = file_dialog(self, _("Choose a media file"), wx.OPEN, wildcard, _dir)
++ name = file_dialog(self, _("Choose a media file"), wx.FD_OPEN, wildcard, _dir)
+ if name:
+ self.do_load_file(name)
+
@@ -1019,7 +1019,7 @@
- dc.SelectObject(self.buffer)
-
- gcdc = wx.GCDC(dc)
-- gcdc.SetBrush(wx.Brush(wx.Color(0, 0, 255, 50))) # light blue
-+ gcdc.SetBrush(wx.Brush(wx.Colour(0, 0, 255, 50))) # light blue
- gcdc.SetPen(wx.Pen((0, 0, 0), 1, wx.TRANSPARENT))
- gcdc.DrawRectangle(0, 0, 150, 150)
-
+ dc.SelectObject(self.buffer)
+
+ gcdc = wx.GCDC(dc)
+- gcdc.SetBrush(wx.Brush(wx.Color(0, 0, 255, 50))) # light blue
++ gcdc.SetBrush(wx.Brush(wx.Colour(0, 0, 255, 50))) # light blue
+ gcdc.SetPen(wx.Pen((0, 0, 0), 1, wx.TRANSPARENT))
+ gcdc.DrawRectangle(0, 0, 150, 150)
+
--- a/whyteboard/tools.py
+++ b/whyteboard/tools.py
@@ -1785,7 +1785,7 @@
@@ -104,6 +104,7 @@
+ self.list.EnsureVisible(selection)
+
--- a/whyteboard.py
+++ b/whyteboard.py
@@ -30,7 +30,7 @@
More information about the Python-apps-commits
mailing list