1 |
|
2005-01-24 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
Rework the status bar updates a bit to make sure the message about |
4 |
|
the projections is produced at the right times. |
5 |
|
|
6 |
|
* Thuban/UI/mainwindow.py (MainWindow.update_status_bar_messages): |
7 |
|
New class variable with messages that may require a status bar |
8 |
|
update. |
9 |
|
(MainWindow.view_position_changed) |
10 |
|
(MainWindow.update_status_bar): Rename from view_position_changed |
11 |
|
to update_status_bar. It's meaning has changed now that it may |
12 |
|
also generate messages about problems with projection settings. |
13 |
|
(MainWindow.__init__): Use the new update_status_bar_messages |
14 |
|
class variable to subscribe update_status_bar |
15 |
|
(MainWindow.set_position_text): Update doc-string. This method |
16 |
|
has to be renamed at some point. See doc-string and comments. |
17 |
|
(MainWindow.OnClose): Unsubscribe update_status_bar from all |
18 |
|
messages in update_status_bar_messages |
19 |
|
|
20 |
|
* Thuban/UI/viewport.py (ViewPort.forwarded_map_messages): New |
21 |
|
class attribute. map messages to be forwarded by the viewport. |
22 |
|
(ViewPort._subscribe_map, ViewPort._unsubscribe_map): (un)subscribe |
23 |
|
the messages in forwarded_map_messages |
24 |
|
|
25 |
2005-01-21 Bernhard Herzog <[email protected]> |
2005-01-21 Bernhard Herzog <[email protected]> |
26 |
|
|
27 |
* test/postgissupport.py (PostGISDatabase.__init__): Tweak |
* test/postgissupport.py (PostGISDatabase.__init__): Tweak |