1 |
|
2002-07-29 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/map.py (Map.subscribe_layer_channels) |
4 |
|
(Map.unsubscribe_layer_channels): Put the code that (un)subscribes |
5 |
|
to a layer's channels into separate methods. |
6 |
|
(Map.RemoveLayer, Map.AddLayer): Call the new methods |
7 |
|
(Map.Destroy): Unsubscribe from a layer's channels before |
8 |
|
destroying it. |
9 |
|
|
10 |
|
* Thuban/UI/view.py (MapCanvas.find_shape_at): Change the |
11 |
|
selected_layer parameter to searched_layer which is the layer to |
12 |
|
search in. |
13 |
|
(MapCanvas.SelectShapeAt): New parameter layer to restrict the |
14 |
|
search to that layer. Return the selected layer and shape. |
15 |
|
|
16 |
|
* Examples/simple_extensions/simple_tool.py (simple_tool): Fix a |
17 |
|
typo |
18 |
|
|
19 |
2002-07-24 Bernhard Herzog <[email protected]> |
2002-07-24 Bernhard Herzog <[email protected]> |
20 |
|
|
21 |
|
* Thuban/UI/application.py (ThubanApplication.create_session): |
22 |
|
Extend the doc string. |
23 |
|
(ThubanApplication.subscribe_session) |
24 |
|
(ThubanApplication.unsubscribe_session): New methods to |
25 |
|
subscribe/unsubscribe to/from session channels. |
26 |
|
(ThubanApplication.SetSession): Call the new methods here. |
27 |
|
(ThubanApplication.maps_changed, ThubanApplication.set_map): |
28 |
|
Renamed set_map to maps_changed. Its now a subscriber for |
29 |
|
MAPS_CHANGED. |
30 |
|
|
31 |
|
* Thuban/UI/view.py (ZoomOutTool.MouseUp): Use the correct |
32 |
|
x-coordinate in case of simple clicks |
33 |
|
|
34 |
|
* Thuban/Model/base.py (Modifiable.changed): Apply the args tuple, |
35 |
|
don't pass it as a parameter |
36 |
|
|
37 |
|
* Thuban/Model/session.py (Session.RemoveMap): New |
38 |
|
|
39 |
* Thuban/UI/mainwindow.py (MainWindow.__init__): Turn the initial |
* Thuban/UI/mainwindow.py (MainWindow.__init__): Turn the initial |
40 |
window size into a parameter. |
window size into a parameter. |
41 |
|
|