1 |
|
2003-06-13 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/identifyview.py (IdentifyView.__init__): Call |
4 |
|
self.selected_shape with the current selection to make sure the |
5 |
|
contents of the dialog are up to date when it's shown for the |
6 |
|
first time. |
7 |
|
The dialog used to work without this by luck. The recent fix to |
8 |
|
the connector module 'broke' a 'feature' the identify view was |
9 |
|
relying on, i.e that subscribing to a message in response to |
10 |
|
receiving a message of that type would mean that the new |
11 |
|
subscriber would also be called for the same message. |
12 |
|
|
13 |
|
2003-06-12 Jonathan Coles <[email protected]> |
14 |
|
|
15 |
|
* Thuban/UI/legend.py (ScaleBarBitmap.__SetScale): Don't draw |
16 |
|
the scalebar if the current map has no projection set. |
17 |
|
|
18 |
|
* Thuban/UI/projdialog.py (ProjFrame.__DoOnProjAvail): Set the |
19 |
|
projfilepath label to just the basename of the projection file |
20 |
|
rather than include the entire path. |
21 |
|
|
22 |
|
2003-06-11 Frank Koormann <[email protected]> |
23 |
|
|
24 |
|
* Thuban/Lib/fileutil.py (get_application_dir): Minor stability |
25 |
|
update. |
26 |
|
|
27 |
|
2003-06-11 Frank Koormann <[email protected]> |
28 |
|
|
29 |
|
* Thuban/Lib/fileutil.py (get_application_dir): New function to |
30 |
|
determine the absolute .thuban/thuban directory under |
31 |
|
"posix" (os.expanduser) and "nt" (read AppData registry key). |
32 |
|
|
33 |
|
* Thuban/Model/resource.py: Use get_application_dir |
34 |
|
|
35 |
|
* Thuban/UI/application.py (ThubanApplication.read_startup_files): |
36 |
|
Use get_application_dir. |
37 |
|
|
38 |
|
2003-06-10 Bernhard Herzog <[email protected]> |
39 |
|
|
40 |
|
* Thuban/UI/tableview.py (LayerTableFrame.__init__): Subscribe to |
41 |
|
the messages MAP_LAYERS_REMOVED messages |
42 |
|
(LayerTableFrame.OnClose): Unsubscribe from it. |
43 |
|
(LayerTableFrame.map_layers_removed): New. Receiver for |
44 |
|
MAP_LAYERS_REMOVED. Close the dialog when the layer whose the |
45 |
|
dialog is showing is removed. |
46 |
|
|
47 |
|
2003-06-10 Bernhard Herzog <[email protected]> |
48 |
|
|
49 |
|
* Thuban/Lib/connector.py (Connector.Issue): Iterate over a copy |
50 |
|
of the receivers list so that unsubscribing in a receiver doesn't |
51 |
|
modify it while iterating over it. |
52 |
|
|
53 |
|
* test/test_connector.py |
54 |
|
(ConnectorTest.test_disconnect_in_receiver): New. Test whether |
55 |
|
unsubscribing in a receiver works correctly. See docstring for |
56 |
|
details |
57 |
|
|
58 |
2003-06-10 Bernhard Herzog <[email protected]> |
2003-06-10 Bernhard Herzog <[email protected]> |
59 |
|
|
60 |
* Thuban/Model/messages.py (LAYER_SHAPESTORE_REPLACED): New |
* Thuban/Model/messages.py (LAYER_SHAPESTORE_REPLACED): New |