summaryrefslogtreecommitdiff
path: root/dev-python/wxpython/files/wxpython-3.0.0.0-wxversion-scripts.patch
blob: 9f0cb89222678c605febba1d6dbf8377b8e821e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
--- a/distrib/PyAlaMode.desktop
+++ b/distrib/PyAlaMode.desktop
@@ -1,8 +1,8 @@
 [Desktop Entry]
-Name=PyAlaMode
+Name=PyAlaMode (3.0)
 Comment=GUI Python Shell with Filling and editor windows
-Exec=pyalamode
-Icon=PyCrust
+Exec=pyalamode-3.0
+Icon=PyCrust-3.0
 Terminal=false
 Type=Application
 Categories=Development;
--- a/distrib/PyCrust.desktop
+++ b/distrib/PyCrust.desktop
@@ -1,8 +1,8 @@
 [Desktop Entry]
-Name=PyCrust
+Name=PyCrust (3.0)
 Comment=GUI Python Shell with Filling
-Exec=pycrust
-Icon=PyCrust
+Exec=pycrust-3.0
+Icon=PyCrust-3.0
 Terminal=false
 Type=Application
 Categories=Development;
--- a/distrib/PyShell.desktop
+++ b/distrib/PyShell.desktop
@@ -1,8 +1,8 @@
 [Desktop Entry]
-Name=PyShell
+Name=PyShell (3.0)
 Comment=GUI Python Shell
-Exec=pyshell
-Icon=PyCrust
+Exec=pyshell-3.0
+Icon=PyCrust-3.0
 Terminal=false
 Type=Application
 Categories=Development;
--- a/distrib/PySlices.desktop
+++ b/distrib/PySlices.desktop
@@ -1,8 +1,8 @@
 [Desktop Entry]
-Name=PySlices
+Name=PySlices (3.0)
 Comment=GUI Python Shell with Filling
-Exec=pyslices
-Icon=PySlices
+Exec=pyslices-3.0
+Icon=PySlices-3.0
 Terminal=false
 Type=Application
 Categories=Development;
--- a/distrib/PySlicesShell.desktop
+++ b/distrib/PySlicesShell.desktop
@@ -1,9 +1,8 @@
-
 [Desktop Entry]
-Name=PySlicesShell
+Name=PySlicesShell (3.0)
 Comment=GUI Python Shell
-Exec=pysliceshell
-Icon=PySlices
+Exec=pysliceshell-3.0
+Icon=PySlices-3.0
 Terminal=false
 Type=Application
 Categories=Development;
--- a/distrib/XRCed.desktop
+++ b/distrib/XRCed.desktop
@@ -1,8 +1,8 @@
 [Desktop Entry]
-Name=XRCed
+Name=XRCed (3.0)
 Comment=wxPython XRC resource editor
-Exec=xrced
-Icon=XRCed
+Exec=xrced-3.0
+Icon=XRCed-3.0
 Terminal=false
 Type=Application
 Categories=Development;
--- a/scripts/genaxmodule
+++ b/scripts/genaxmodule
@@ -1,4 +1,6 @@
 #!/usr/bin/env python
+import wxversion
+wxversion.select("3.0")
 
 from wx.tools.genaxmodule import main
 main()
--- a/scripts/helpviewer
+++ b/scripts/helpviewer
@@ -1,4 +1,6 @@
 #!/usr/bin/env python
+import wxversion
+wxversion.select("3.0")
 
 from wx.tools.helpviewer import main
 main()
--- a/scripts/img2png
+++ b/scripts/img2png
@@ -1,4 +1,6 @@
 #!/usr/bin/env python
+import wxversion
+wxversion.select("3.0")
 
 from wx.tools.img2png import main
 main()
--- a/scripts/img2py
+++ b/scripts/img2py
@@ -1,4 +1,6 @@
 #!/usr/bin/env python
+import wxversion
+wxversion.select("3.0")
 
 from wx.tools.img2py import main
 main()
--- a/scripts/img2xpm
+++ b/scripts/img2xpm
@@ -1,4 +1,6 @@
 #!/usr/bin/env python
+import wxversion
+wxversion.select("3.0")
 
 from wx.tools.img2xpm import main
 main()
--- a/scripts/pyalacarte
+++ b/scripts/pyalacarte
@@ -1,4 +1,6 @@
 #!/usr/bin/env python
+import wxversion
+wxversion.select("3.0")
 
 from wx.py.PyAlaCarte import main
 main()
--- a/scripts/pyalamode
+++ b/scripts/pyalamode
@@ -1,4 +1,6 @@
 #!/usr/bin/env python
+import wxversion
+wxversion.select("3.0")
 
 from wx.py.PyAlaMode import main
 main()
--- a/scripts/pycrust
+++ b/scripts/pycrust
@@ -1,4 +1,6 @@
 #!/usr/bin/env python
+import wxversion
+wxversion.select("3.0")
 
 from wx.py.PyCrust import main
 main()
--- a/scripts/pyshell
+++ b/scripts/pyshell
@@ -1,4 +1,6 @@
 #!/usr/bin/env python
+import wxversion
+wxversion.select("3.0")
 
 from wx.py.PyShell import main
 main()
--- a/scripts/pyslices
+++ b/scripts/pyslices
@@ -1,4 +1,6 @@
 #!/usr/bin/env python
+import wxversion
+wxversion.select("3.0")
 
 from wx.py.PySlices import main
 main()
--- a/scripts/pysliceshell
+++ b/scripts/pysliceshell
@@ -1,4 +1,6 @@
 #!/usr/bin/env python
+import wxversion
+wxversion.select("3.0")
 
 from wx.py.PySlicesShell import main
 main()
--- a/scripts/pywrap
+++ b/scripts/pywrap
@@ -1,4 +1,6 @@
 #!/usr/bin/env python
+import wxversion
+wxversion.select("3.0")
 
 from wx.py.PyWrap import main
 main()
--- a/scripts/pywxrc
+++ b/scripts/pywxrc
@@ -1,4 +1,6 @@
 #!/usr/bin/env python
+import wxversion
+wxversion.select("3.0")
 
 from wx.tools.pywxrc import main
 main()
--- a/scripts/xrced
+++ b/scripts/xrced
@@ -1,4 +1,6 @@
 #!/usr/bin/env python
+import wxversion
+wxversion.select("3.0")
 
 from wx.tools.XRCed.xrced import main
 main()