/[thuban]
ViewVC logotype

Revision 2544


Jump to revision: Previous Next
Author: bh
Date: Mon Jan 24 11:19:53 2005 UTC (20 years, 1 month ago)
Changed paths: 3
Log Message:
Rework the status bar updates a bit to make sure the message about
the projections is produced at the right times.

* Thuban/UI/mainwindow.py (MainWindow.update_status_bar_messages):
New class variable with messages that may require a status bar
update.
(MainWindow.view_position_changed)
(MainWindow.update_status_bar): Rename from view_position_changed
to update_status_bar.  It's meaning has changed now that it may
also generate messages about problems with projection settings.
(MainWindow.__init__): Use the new update_status_bar_messages
class variable to subscribe update_status_bar
(MainWindow.set_position_text): Update doc-string.  This method
has to be renamed at some point.  See doc-string and comments.
(MainWindow.OnClose): Unsubscribe update_status_bar from all
messages in update_status_bar_messages

* Thuban/UI/viewport.py (ViewPort.forwarded_map_messages): New
class attribute.  map messages to be forwarded by the viewport.
(ViewPort._subscribe_map, ViewPort._unsubscribe_map): (un)subscribe
the messages in forwarded_map_messages


Changed paths

Path Details
Directorytrunk/thuban/ChangeLog modified , text changed
Directorytrunk/thuban/Thuban/UI/mainwindow.py modified , text changed
Directorytrunk/thuban/Thuban/UI/viewport.py modified , text changed

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26