jan: thuban/Examples/simple_extensions hello_world.py,1.2,1.3

cvs@intevation.de cvs at intevation.de
Sat Nov 20 22:57:16 CET 2004


Author: jan

Update of /thubanrepository/thuban/Examples/simple_extensions
In directory doto:/tmp/cvs-serv9675

Modified Files:
	hello_world.py 
Log Message:
Moved entry from Extensions menu to Examples menu.


Index: hello_world.py
===================================================================
RCS file: /thubanrepository/thuban/Examples/simple_extensions/hello_world.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- hello_world.py	16 May 2004 09:45:05 -0000	1.2
+++ hello_world.py	20 Nov 2004 21:57:14 -0000	1.3
@@ -1,6 +1,6 @@
-# Copyright (C) 2003 by Intevation GmbH
+# Copyright (C) 2003, 2004 by Intevation GmbH
 # Authors:
-# Jan-Oliver Wagner <jan at intevation.de>
+# Jan-Oliver Wagner <jan at intevation.de> (2003, 2004)
 #
 # This program is free software under the GPL (>=v2)
 # Read the file COPYING coming with Thuban for details.
@@ -11,6 +11,8 @@
 """
 
 __version__ = '$Revision$'
+# $Source$
+# $Id$
 
 # use _() already now for all strings that may later be translated
 from Thuban import _
@@ -36,7 +38,7 @@
                      helptext = _('Welcome everyone on this planet')))
 
 # find the extensions menu (create it anew if not found)
-extensions_menu = main_menu.FindOrInsertMenu('extensions', _('E&xtensions'))
+examples_menu = main_menu.FindOrInsertMenu('examples', _('&Examples'))
 
 # finally bind the new command with an entry in the extensions menu
-extensions_menu.InsertItem('hello_world')
+examples_menu.InsertItem('hello_world')





More information about the Thuban-devel mailing list

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