1 |
|
2004-02-17 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
Fix for RT#2245 |
4 |
|
|
5 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Initialize |
6 |
|
instance variables before trying to create any windows. Creating |
7 |
|
windows can start an event loop if e.g. message boxes are popped |
8 |
|
up for some reason, and event handlers, especially EVT_UPDATE_UI |
9 |
|
may want to access things from the application. |
10 |
|
(ThubanApplication.maps_changed): The mainwindow may not have been |
11 |
|
created yet, so check whether it has been created before calling |
12 |
|
its methods |
13 |
|
|
14 |
|
* Thuban/UI/view.py (MapCanvas.OnIdle): Only try to redraw if we |
15 |
|
have a map |
16 |
|
|
17 |
|
2004-02-17 Bernhard Herzog <[email protected]> |
18 |
|
|
19 |
|
* test/test_svgmapwriter.py, Extensions/svgsaver.py, |
20 |
|
Extensions/svgmapwriter.py, Extensions/maplegend.py, |
21 |
|
extensions/svgexport/svgsaver.py, |
22 |
|
extensions/svgexport/svgmapwriter.py, |
23 |
|
extensions/svgexport/maplegend.py: Removed. These files were in |
24 |
|
the wrong places or didn't work at all. |
25 |
|
|
26 |
|
2004-02-16 Bernhard Herzog <[email protected]> |
27 |
|
|
28 |
|
* Thuban/UI/view.py (MapCanvas.Export): Remove accidentally added |
29 |
|
line |
30 |
|
|
31 |
2004-02-16 Bernhard Herzog <[email protected]> |
2004-02-16 Bernhard Herzog <[email protected]> |
32 |
|
|
33 |
* Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError. |
* Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError. |