1 |
2003-06-02 Bernhard Herzog <[email protected]> |
2003-06-02 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/mainwindow.py (layer_rename command, table_rename command): |
4 |
|
New commands. |
5 |
|
(main_menu): Add the new commands. |
6 |
|
(MainWindow.TableRename): New. Implementation of the table_rename |
7 |
|
command. |
8 |
|
(MainWindow.RenameLayer): New. Implementation of the layer_rename |
9 |
|
command. |
10 |
|
|
11 |
|
* Thuban/Model/session.py (Session.AddTable): call self.changed to |
12 |
|
set the modified flag |
13 |
|
|
14 |
|
* test/test_session.py (TestSessionSimple.test_add_table): Test |
15 |
|
whether the modified flag is set properly |
16 |
|
|
17 |
|
* Thuban/Model/base.py (TitledObject.SetTitle): Call changed |
18 |
|
instead of issue so that the modified flags get updated. |
19 |
|
|
20 |
|
* test/test_base.py (SomeTitledObject): Derive from Modifiable |
21 |
|
instead of Publisher to reflect reality better and to accomodate |
22 |
|
the fact that SetTitle now calls changed instead of issue |
23 |
|
|
24 |
|
2003-06-02 Bernhard Herzog <[email protected]> |
25 |
|
|
26 |
|
* Thuban/UI/classgen.py (GenQuantilesPanel.GetList): Resource |
27 |
|
acquisition has to happen before the try in a try-finally. |
28 |
|
|
29 |
|
2003-06-02 Bernhard Herzog <[email protected]> |
30 |
|
|
31 |
* Thuban/UI/legend.py (LegendTree._OnMsgMapLayersRemoved): It's |
* Thuban/UI/legend.py (LegendTree._OnMsgMapLayersRemoved): It's |
32 |
possible that a layer is removed that is not currently selected in |
possible that a layer is removed that is not currently selected in |
33 |
the legend so don't check for this. |
the legend so don't check for this. |