diff options
author | Pacho Ramos <pacho@gentoo.org> | 2015-10-25 16:06:34 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2015-10-25 16:06:58 +0100 |
commit | ebb2e705108a6c3b1543e3e983b2b60714f3add5 (patch) | |
tree | 9a2786b43d9d11819d410a091da6d293863cd716 /media-gfx/fontypython/files/0001-Do-not-crash-on-empty-pogs-list.patch | |
parent | 5382ac4543b6650bef6d8065913e968c7a765d18 (diff) | |
download | gentoo-ebb2e705108a6c3b1543e3e983b2b60714f3add5.tar.gz gentoo-ebb2e705108a6c3b1543e3e983b2b60714f3add5.tar.xz |
media-gfx/fontypython: Support wxGTK:3.0
Package-Manager: portage-2.2.23
Diffstat (limited to 'media-gfx/fontypython/files/0001-Do-not-crash-on-empty-pogs-list.patch')
-rw-r--r-- | media-gfx/fontypython/files/0001-Do-not-crash-on-empty-pogs-list.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/media-gfx/fontypython/files/0001-Do-not-crash-on-empty-pogs-list.patch b/media-gfx/fontypython/files/0001-Do-not-crash-on-empty-pogs-list.patch new file mode 100644 index 00000000000..b652053596c --- /dev/null +++ b/media-gfx/fontypython/files/0001-Do-not-crash-on-empty-pogs-list.patch @@ -0,0 +1,21 @@ +From: Pietro Battiston <me@pietrobattiston.it> +Date: Sun, 21 Dec 2014 11:50:28 +0100 +Subject: Do not crash on empty pogs list + +--- + fontypythonmodules/gui_PogChooser.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/fontypythonmodules/gui_PogChooser.py b/fontypythonmodules/gui_PogChooser.py +index 94b7f2e..f233529 100644 +--- a/fontypythonmodules/gui_PogChooser.py ++++ b/fontypythonmodules/gui_PogChooser.py +@@ -80,7 +80,7 @@ class PogChooser(wx.ListCtrl) : + i = self.FindItem(-1, select) + self.indexselected = i # Set this to help initial icon settings. + self.Select(i, True) +- else: ++ elif self.__poglistCopy: + self.Select(0, False) + self.indexselected = -1 + |