1 |
2003-08-25 Bernhard Herzog <[email protected]> |
2003-08-25 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/application.py |
4 |
|
(ThubanApplication.run_db_param_dialog): New. Suitable as a |
5 |
|
db_connection_callback. Main difference is that the dialog run |
6 |
|
from this method doesn't have a parent so it can be used even when |
7 |
|
there is no main window |
8 |
|
(ThubanApplication.OpenSession): Use self.run_db_param_dialog if |
9 |
|
no db_connection_callback was given. This way the dialog pops up |
10 |
|
even when the .thuban file was given as a command line parameter. |
11 |
|
|
12 |
|
2003-08-25 Bernhard Herzog <[email protected]> |
13 |
|
|
14 |
|
* Thuban/UI/view.py (MapCanvas.OnLeftUp): Release the the mouse |
15 |
|
before calling MouseLeftUp. MouseLeftUp may pop up modal dialogs |
16 |
|
which leads to an effectively frozen X session because the user |
17 |
|
can only interact with the dialog but the mouse is still grabbed |
18 |
|
by the canvas. |
19 |
|
Also, call the tool's Hide method before MouseLeftUp because |
20 |
|
MouseLeftUp may change the tool's coordinates. |
21 |
|
|
22 |
|
2003-08-25 Bernhard Herzog <[email protected]> |
23 |
|
|
24 |
|
* Thuban/UI/application.py (ThubanApplication.OpenSession): Catch |
25 |
|
LoadCancelled exceptions and handle them by returning immediately. |
26 |
|
|
27 |
|
2003-08-25 Bernhard Herzog <[email protected]> |
28 |
|
|
29 |
GUI part of loading sessions with postgis connections which may |
GUI part of loading sessions with postgis connections which may |
30 |
require user interaction to get passwords or updated parameters |
require user interaction to get passwords or updated parameters |
31 |
|
|