jan: thuban ChangeLog,1.643,1.644

cvs@intevation.de cvs at intevation.de
Sun Apr 18 22:40:32 CEST 2004


Author: jan

Update of /thubanrepository/thuban
In directory doto:/tmp/cvs-serv30075

Modified Files:
	ChangeLog 
Log Message:
Changing popup menu of legend from direct building
to using the Menu construction as used for the mainwindow.


Index: ChangeLog
===================================================================
RCS file: /thubanrepository/thuban/ChangeLog,v
retrieving revision 1.643
retrieving revision 1.644
diff -u -d -r1.643 -r1.644
--- ChangeLog	16 Apr 2004 08:21:47 -0000	1.643
+++ ChangeLog	18 Apr 2004 20:40:30 -0000	1.644
@@ -1,3 +1,25 @@
+2004-04-18  Jan-Oliver Wagner <jan at intevation.de>
+
+	Changing popup menu of legend from direct building
+	to using the Menu construction as used for the mainwindow.
+
+	* Thuban/UI/mainwindow.py: New method commands: layer_to_top,
+	layer_to_bottom, layer_visibility
+	(MainWindow.LayerToTop): New. Put current layer to the top.
+	(MainWindow.LayerToBottom): New. Put current layer to bottom.
+	(MainWindow.HideLayer, MainWindow.ShowLayer, _has_visible_map):
+	Replace 1,0 by True, False.
+	(MainWindow.ToggleLayerVisibility): New. Toggle visibility of
+	current layer.
+	(MainWindow.LayerShowTable): Removed raising of dialog.
+	(_has_selected_layer_visible): New. Support function.
+
+	* Thuban/UI/legend.py: ID_POP_xxx: removed.
+	(LegendPanel.__init__): Removed EVT_MENU bindings.
+	(LegendTree._OnRightClick): Replace direct creation of
+	menu via wx Classes by applying the menu definition
+	as of Menu class of menu.py.
+	
 2004-04-16  Jan-Oliver Wagner <jan at intevation.de>
 
 	* Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout): Improved





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)