commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r7040 - in trunk: gnue-common/src gnue-designer/src/base gnue-for


From: kilo
Subject: [gnue] r7040 - in trunk: gnue-common/src gnue-designer/src/base gnue-forms/src gnue-navigator/src gnue-reports/src/base
Date: Fri, 18 Feb 2005 05:22:45 -0600 (CST)

Author: kilo
Date: 2005-02-18 05:22:44 -0600 (Fri, 18 Feb 2005)
New Revision: 7040

Modified:
   trunk/gnue-common/src/GCConfig.py
   trunk/gnue-designer/src/base/Config.py
   trunk/gnue-forms/src/GFConfig.py
   trunk/gnue-navigator/src/GNConfig.py
   trunk/gnue-reports/src/base/GRConfig.py
Log:
Updated Config options for each tool.

Modified: trunk/gnue-common/src/GCConfig.py
===================================================================
--- trunk/gnue-common/src/GCConfig.py   2005-02-18 09:51:49 UTC (rev 7039)
+++ trunk/gnue-common/src/GCConfig.py   2005-02-18 11:22:44 UTC (rev 7040)
@@ -1,6 +1,8 @@
 #
-# This file is part of GNU Enterprise.
+# Copyright 2001-2005 Free Software Foundation
 #
+# This file is part of GNU Enterprise
+#
 # GNU Enterprise is free software; you can redistribute it
 # and/or modify it under the terms of the GNU General Public
 # License as published by the Free Software Foundation; either
@@ -16,36 +18,42 @@
 # write to the Free Software Foundation, Inc., 59 Temple Place
 # - Suite 330, Boston, MA 02111-1307, USA.
 #
-# Copyright 2002-2005 Free Software Foundation
-#
-# FILE:
-# GCConfig.py
-#
-# DESCRIPTION:
-#
-# Valid configuration options that apply to all GNUe tools
-# (appears under [common] section in gnue.conf or
-# can appear in each individual tool section)
-#
+# $Id$
 
+"""
+Valid configuration options that apply to all GNUe tools
+(appears under [common] section in gnue.conf or
+can appear in each individual tool section)
+"""
 
-
 from gnue.common.formatting import GTypecast
 
 ConfigOptions = (
+  { 'Name'       : 'textEncoding',
+    'Type'       : 'Setting',
+    'Comment'    : 'Encoding for XML headers and for fonts in forms. '
+                 + 'Like iso8859-1, iso8859-13.',
+    'Description': 'Encoding for XML headers and for fonts in forms. '
+                 + 'Like iso8859-1, iso8859-13.',
+    'Typecast'   : GTypecast.text,
+    'Default'    : 'iso8859-1' },
+        
   { 'Name'       : 'ImportPath',
     'Type'       : 'Setting',
     'Comment'    : 'Locations added to the python search path',
-    'Description': 'A comma-separated list of directories to be added to the 
python search path to add custom functionality.',
+    'Description': 'A comma-separated list of directories to be added '
+                 + 'to the python search path to add custom functionality.',
     'Typecast'   : GTypecast.text,
     'Default'    : "" },
   
   { 'Name'       : 'StoreTriggersAsCDATA',
     'Type'       : 'Setting',
-    'Comment'    : 'If set to true, then store trigger definitions in 
<![CDATA[ .. ]]> blocks, instead of encoding with &lt; etc.',
-    'Description': 'If set to true, then store trigger definitions in 
<![CDATA[ .. ]]> blocks, instead of encoding with &lt; etc.',
+    'Comment'    : 'If set to true, then store trigger definitions in '
+                 + '<![CDATA[ .. ]]> blocks, instead of encoding with &lt; 
etc.',
+    'Description': 'If set to true, then store trigger definitions in '
+                 + '<![CDATA[ .. ]]> blocks, instead of encoding with &lt; 
etc.',
     'Typecast'   : GTypecast.boolean,
-    'Default'    : 1 },
+    'Default'    : True },
 
   { 'Name'       : 'useParameters',
     'Type'       : 'Setting',
@@ -53,12 +61,5 @@
     'Description': '1 = use parameters, 0 = do not use them (deprecated)',
     'Typecast'   : GTypecast.boolean,
     'Default'    : 1 },              # Default 0 is transformed to '0'
-
-  { 'Name'       : 'textEncoding',
-    'Type'       : 'Setting',
-    'Comment'    : 'Encoding for XML headers and for fonts in forms. Like 
iso8859-1, iso8859-13.',
-    'Description': 'Encoding for XML headers and for fonts in forms. Like 
iso8859-1, iso8859-13.',
-    'Typecast'   : GTypecast.text,
-    'Default'    : 'iso8859-1' },
   )
 


Property changes on: trunk/gnue-common/src/GCConfig.py
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: trunk/gnue-designer/src/base/Config.py
===================================================================
--- trunk/gnue-designer/src/base/Config.py      2005-02-18 09:51:49 UTC (rev 
7039)
+++ trunk/gnue-designer/src/base/Config.py      2005-02-18 11:22:44 UTC (rev 
7040)
@@ -1,6 +1,8 @@
 #
-# This file is part of GNU Enterprise.
+# Copyright 2001-2005 Free Software Foundation
 #
+# This file is part of GNU Enterprise
+#
 # GNU Enterprise is free software; you can redistribute it
 # and/or modify it under the terms of the GNU General Public
 # License as published by the Free Software Foundation; either
@@ -16,38 +18,36 @@
 # write to the Free Software Foundation, Inc., 59 Temple Place
 # - Suite 330, Boston, MA 02111-1307, USA.
 #
-# Copyright 2001-2005 Free Software Foundation
-#
-# FILE:
-# Config.py
-#
-# DESCRIPTION:
-#
-# NOTES:
-#
+# $Id$
+
+"""
+Valid configuration options for designer
+(appears under [designer] section in gnue.conf)
+"""
+
 from gnue.common.formatting import GTypecast
 
 ConfigOptions = (
-  { 'Name'       : 'ForceSimpleEditor',
+  { 'Name'       : 'AutoConnect',
     'Type'       : 'Setting',
-    'Comment'    : 'Use the basic editor for triggers',
-    'Description': 'Use the basic editor for triggers',
+    'Comment'    : 'Automatically log in to needed connections to do schema.',
+    'Description': 'Automatically log in to needed connections to do schema.',
     'Typecast'   : GTypecast.boolean,
-    'Default'    : 0 },
+    'Default'    : True },
 
   { 'Name'       : 'ColorizeCode',
     'Type'       : 'Setting',
     'Comment'    : 'Use syntax highlighting in the trigger editor.',
     'Description': 'Use syntax highlighting in the trigger editor.',
     'Typecast'   : GTypecast.boolean,
-    'Default'    : 1 },
+    'Default'    : True },
 
-  { 'Name'       : 'AutoConnect',
+  { 'Name'       : 'ForceSimpleEditor',
     'Type'       : 'Setting',
-    'Comment'    : 'Automatically log in to needed connections to do schema.',
-    'Description': 'Automatically log in to needed connections to do schema.',
+    'Comment'    : 'Use the basic editor for triggers.',
+    'Description': 'Use the basic editor for triggers.',
     'Typecast'   : GTypecast.boolean,
-    'Default'    : 1 },
+    'Default'    : False },
 
   #
   # Toolbar Icons


Property changes on: trunk/gnue-designer/src/base/Config.py
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: trunk/gnue-forms/src/GFConfig.py
===================================================================
--- trunk/gnue-forms/src/GFConfig.py    2005-02-18 09:51:49 UTC (rev 7039)
+++ trunk/gnue-forms/src/GFConfig.py    2005-02-18 11:22:44 UTC (rev 7040)
@@ -1,6 +1,8 @@
 #
-# This file is part of GNU Enterprise.
+# Copyright 2001-2005 Free Software Foundation
 #
+# This file is part of GNU Enterprise
+#
 # GNU Enterprise is free software; you can redistribute it
 # and/or modify it under the terms of the GNU General Public
 # License as published by the Free Software Foundation; either
@@ -16,67 +18,72 @@
 # write to the Free Software Foundation, Inc., 59 Temple Place
 # - Suite 330, Boston, MA 02111-1307, USA.
 #
-# Copyright 2001-2005 Free Software Foundation
-#
-# FILE:
-# GFConfig.py
-#
-# DESCRIPTION:
+# $Id$
+
 """
 Valid configuration options for forms
 (appears under [forms] section in gnue.conf)
 """
-# NOTES:
-#
 
 from gnue.common.formatting import GTypecast
 
 ConfigOptions = (
-#   { 'Name'       : 'AutoCreate',
-#     'Type'       : 'Setting',
-#     'Comment'    : 'Create new records in blocks automagically when you hit 
the bottom',
-#     'Description': 'Create new records in blocks automagically when you hit 
the bottom.',
-#     'Typecast'   : GTypecast.boolean,
-#     'Default'    : True },
+  { 'Name'       : 'DefaultUI',
+    'Type'       : 'Setting',
+    'Comment'    : 'The default user interface driver to use if not specified '
+                 + 'on the command line.',
+    'Description': 'The default user interface driver to use if not specified '
+                 + 'on the command line.',
+    'Typecast'   : GTypecast.text,
+    'Options'    : ['curses','wx','gtk2','qt','win32'],
+    'Default'    : 'wx' },
 
+  { 'Name'       : 'AllowNumericFormulas',
+    'Type'       : 'Setting',
+    'Comment'    : 'Allow formulas to be entered into numeric fields?',
+    'Description': 'Allow formulas to be entered into numeric fields?',
+    'Typecast'   : GTypecast.boolean,
+    'Default'    : True },
+
   { 'Name'       : 'RememberLastQuery',
     'Type'       : 'Setting',
     'Comment'    : 'Remember last query entered.',
     'Description': 'Remember last query entered. (If enabled, then the '
                  + 'last values entered for a query can be retrieved by '
-                 + 'doing an Enter-Query twice)',
+                 + 'doing an Enter-Query twice).',
     'Typecast'   : GTypecast.boolean,
     'Default'    : True },
 
-  { 'Name'       : 'DisableSplash',
+  { 'Name'       : 'checkboxTrue',
     'Type'       : 'Setting',
-    'Comment'    : 'Disable the startup splashscreen.',
-    'Description': 'Disable the startup splashscreen.',
-    'Typecast'   : GTypecast.boolean,
-    'Default'    : False },
+    'Comment'    : 'The default value stored in the database for True values.',
+    'Description': 'The default value stored in the database for True values '
+                 + '(usual values are 1 or Y).',
+    'Typecast'   : GTypecast.text,
+    'Default'    : 'Y' },
 
-  { 'Name'       : 'AllowNumericFormulas',
+  { 'Name'       : 'checkboxFalse',
     'Type'       : 'Setting',
-    'Comment'    : 'Remember last query entered.',
-    'Description': 'Remember last query entered. (If enabled, then the '
-                 + 'last values entered for a query can be retrieved by '
-                 + 'doing an Enter-Query twice)',
-    'Typecast'   : GTypecast.boolean,
-    'Default'    : True },
+    'Comment'    : 'The default value stored in the database for false 
values.',
+    'Description': 'The default value stored in the database for false values '
+                 + '(usual values are 0 or N).',
+    'Typecast'   : GTypecast.text,
+    'Default'    : 'N' },
 
   { 'Name'       : 'EnterIsNewLine',
     'Type'       : 'Setting',
     'Comment'    : 'Treat enter as shift-enter in multi-line text boxes.',
-    'Description': 'If set then the enter key inputs a carrage return '
-                 + 'and line feed in mutli-line text boxes.',
+    'Description': 'Set to "True" if you want <ENTER> to insert newlines '
+                 + 'in multirow entries.\nEven if set to false, '
+                 + 'Shift+Enter will insert a newline.',
     'Typecast'   : GTypecast.boolean,
     'Default'    : True },
 
   { 'Name'       : 'CacheDetailRecords',
     'Type'       : 'Setting',
-    'Comment'    : 'Enable caching of detail data',
-    'Description': 'Enable caching of detail data\n'
-                 + 'If set to true (default), then always cache '
+    'Comment'    : 'Enable caching of detail data.',
+    'Description': 'Enable caching of detail data.\n'
+                 + 'If set to True (default), then always cache '
                  + 'detail data in a master/detail set. The benefits '
                  + 'of this method is performance. The downsize to '
                  + 'this method is that records are cached so any '
@@ -90,69 +97,62 @@
     'Typecast'   : GTypecast.boolean,
     'Default'    : True },
 
-  { 'Name'       : 'DateEditMask',
+  { 'Name'       : 'DateMask',
     'Type'       : 'Setting',
-    'Comment'    : 'Mask for editing date/time fields (without qoutes).',
-    'Description': 'Mask for editing date/time fields (without quotes).',
+    'Comment'    : 'Mask for viewing date fields (without quotes).',
+    'Description': 'Mask for viewing date fields (without quotes).',
     'Typecast'   : GTypecast.text,
     'Default'    : '%m/%d/%Y' },
 
-  { 'Name'       : 'DateMask',
+  { 'Name'       : 'DateEditMask',
     'Type'       : 'Setting',
-    'Comment'    : 'Mask for viewing date/time fields (without quotes).',
-    'Description': 'Mask for viewing date/time fields (without quotes).',
+    'Comment'    : 'Mask for editing date fields (without qoutes).',
+    'Description': 'Mask for editing date fields (without quotes).',
     'Typecast'   : GTypecast.text,
-    'Default'    : '%m/%d/%y' },
+    'Default'    : '%m/%d/%Y' },
 
-  { 'Name'       : 'DateEditMask_Time',
+  { 'Name'       : 'DateMask_Time',
     'Type'       : 'Setting',
-    'Comment'    : 'Mask for editing date/time fields (without qoutes).',
-    'Description': 'Mask for editing date/time fields (without quotes).',
+    'Comment'    : 'Mask for viewing time fields (without quotes).',
+    'Description': 'Mask for viewing time fields (without quotes).',
     'Typecast'   : GTypecast.text,
     'Default'    : '%h:%i:%s' },
 
-  { 'Name'       : 'DateMask_Time',
+  { 'Name'       : 'DateEditMask_Time',
     'Type'       : 'Setting',
-    'Comment'    : 'Mask for viewing date/time fields (without quotes).',
-    'Description': 'Mask for viewing date/time fields (without quotes).',
+    'Comment'    : 'Mask for editing time fields (without qoutes).',
+    'Description': 'Mask for editing time fields (without quotes).',
     'Typecast'   : GTypecast.text,
     'Default'    : '%h:%i:%s' },
 
-  { 'Name'       : 'DateEditMask_Timestamp',
+  { 'Name'       : 'DateMask_Timestamp',
     'Type'       : 'Setting',
-    'Comment'    : 'Mask for editing date/time fields (without qoutes).',
-    'Description': 'Mask for editing date/time fields (without quotes).',
+    'Comment'    : 'Mask for viewing timestamp fields (without quotes).',
+    'Description': 'Mask for viewing timestamp fields (without quotes).',
     'Typecast'   : GTypecast.text,
     'Default'    : '%m/%d/%Y %h:%i:%s' },
 
-  { 'Name'       : 'DateMask_Timestamp',
+  { 'Name'       : 'DateEditMask_Timestamp',
     'Type'       : 'Setting',
-    'Comment'    : 'Mask for viewing date/time fields (without quotes).',
-    'Description': 'Mask for viewing date/time fields (without quotes).',
+    'Comment'    : 'Mask for editing timestamp fields (without qoutes).',
+    'Description': 'Mask for editing timestamp fields (without quotes).',
     'Typecast'   : GTypecast.text,
     'Default'    : '%m/%d/%Y %h:%i:%s' },
 
-  { 'Name'       : 'TextEditMask',
+  { 'Name'       : 'TextMask',
     'Type'       : 'Setting',
-    'Comment'    : 'Mask for editing date/time fields (without qoutes).',
-    'Description': 'Mask for editing date/time fields (without quotes).',
+    'Comment'    : 'Mask for viewing text fields (without quotes).',
+    'Description': 'Mask for viewing text fields (without quotes).',
     'Typecast'   : GTypecast.text,
     'Default'    : '' },
 
-  { 'Name'       : 'TextMask',
+  { 'Name'       : 'TextEditMask',
     'Type'       : 'Setting',
-    'Comment'    : 'Mask for viewing date/time fields (without quotes).',
-    'Description': 'Mask for viewing date/time fields (without quotes).',
+    'Comment'    : 'Mask for editing text fields (without qoutes).',
+    'Description': 'Mask for editing text fields (without quotes).',
     'Typecast'   : GTypecast.text,
     'Default'    : '' },
 
-  { 'Name'       : 'NumberEditMask',
-    'Type'       : 'Setting',
-    'Comment'    : 'Mask for editing number fields (without qoutes).',
-    'Description': 'Mask for editing number fields (without quotes).',
-    'Typecast'   : GTypecast.text,
-    'Default'    : '#0.#' },
-
   { 'Name'       : 'NumberMask',
     'Type'       : 'Setting',
     'Comment'    : 'Mask for viewing number fields (without quotes).',
@@ -160,49 +160,41 @@
     'Typecast'   : GTypecast.text,
     'Default'    : '#,##0.#' },
 
-  { 'Name'       : 'NumberEditMask_Money',
+  { 'Name'       : 'NumberEditMask',
     'Type'       : 'Setting',
     'Comment'    : 'Mask for editing number fields (without qoutes).',
     'Description': 'Mask for editing number fields (without quotes).',
     'Typecast'   : GTypecast.text,
-    'Default'    : '#0.00' },
+    'Default'    : '#0.#' },
 
   { 'Name'       : 'NumberMask_Money',
     'Type'       : 'Setting',
-    'Comment'    : 'Mask for viewing number fields (without quotes).',
-    'Description': 'Mask for viewing number fields (without quotes).',
+    'Comment'    : 'Mask for viewing monetary fields (without quotes).',
+    'Description': 'Mask for viewing monetary fields (without quotes).',
     'Typecast'   : GTypecast.text,
     'Default'    : '\\$#,##0.00' },
-
-  { 'Name'       : 'NumberEditMask_Integer',
+        
+  { 'Name'       : 'NumberEditMask_Money',
     'Type'       : 'Setting',
-    'Comment'    : 'Mask for editing number fields (without qoutes).',
-    'Description': 'Mask for editing number fields (without quotes).',
+    'Comment'    : 'Mask for editing monetary fields (without qoutes).',
+    'Description': 'Mask for editing monetary fields (without quotes).',
     'Typecast'   : GTypecast.text,
-    'Default'    : '#0' },
+    'Default'    : '#0.00' },
 
   { 'Name'       : 'NumberMask_Integer',
     'Type'       : 'Setting',
-    'Comment'    : 'Mask for viewing number fields (without quotes).',
-    'Description': 'Mask for viewing number fields (without quotes).',
+    'Comment'    : 'Mask for viewing integer fields (without quotes).',
+    'Description': 'Mask for viewing integer fields (without quotes).',
     'Typecast'   : GTypecast.text,
     'Default'    : '#,##0' },
 
-  { 'Name'       : 'Encoding',
+  { 'Name'       : 'NumberEditMask_Integer',
     'Type'       : 'Setting',
-    'Comment'    : 'Hack for db encoding',
-    'Description': 'Hack for db encoding.',
+    'Comment'    : 'Mask for editing integer fields (without qoutes).',
+    'Description': 'Mask for editing integer fields (without quotes).',
     'Typecast'   : GTypecast.text,
-    'Default'    : 'DEFAULT' },
+    'Default'    : '#0' },
 
-  { 'Name'       : 'formFontEncoding',
-    'Type'       : 'Setting',
-    'Comment'    : 'Deprecated, use "textEncoding" in [common] section 
instead.',
-    'Description': 'Font in forms encoding. Like iso8859-1, iso8859-13.',
-    'Typecast'   : GTypecast.text,
-    'Default'    : 'iso8859-1' },
-
-
   { 'Name'       : 'SplashScreenPNG',
     'Type'       : 'Setting',
     'Comment'    : 'Location of startup graphic (PNG format)',
@@ -210,6 +202,13 @@
     'Typecast'   : GTypecast.text,
     'Default'    : 'gnue-splash.png' },
 
+  { 'Name'       : 'DisableSplash',
+    'Type'       : 'Setting',
+    'Comment'    : 'Disable the startup splashscreen.',
+    'Description': 'Disable the startup splashscreen.',
+    'Typecast'   : GTypecast.boolean,
+    'Default'    : False },
+
   #
   # Toolbar Icons
   #
@@ -292,82 +291,87 @@
     'Description': 'Location of "Exit" toolbar icon (PNG format)',
     'Typecast'   : GTypecast.text,
     'Default'    : 'tb_exit.png' },
+        
   { 'Name'       : 'loginPNG',
     'Type'       : 'Setting',
-    'Comment'    : 'Location of GNUe login logo (PNG format)',
-    'Description': 'Location of GNUe login logo (PNG format)',
+    'Comment'    : 'Location of GNUe login logo (PNG format).',
+    'Description': 'Location of GNUe login logo (PNG format).',
     'Typecast'   : GTypecast.text,
     'Default'    : 'gnue.png' },
+        
   { 'Name'       : 'loginBMP',
     'Type'       : 'Setting',
-    'Comment'    : 'Location of GNUe login logo (BMP format)',
-    'Description': 'Location of GNUe login logo (BMP format)',
+    'Comment'    : 'Location of GNUe login logo (BMP format).',
+    'Description': 'Location of GNUe login logo (BMP format). '
+                 + 'The win32 uidriver accepts only BMP format.',
     'Typecast'   : GTypecast.text,
     'Default'    : 'gnue.bmp' },
 
   { 'Name'       : 'widgetHeight',
     'Type'       : 'Setting',
-    'Comment'    : "The default height of widgets for widgets that don't 
specify height in .gfd file",
-    'Description': "The default height of widgets for widgets that don't 
specify height in .gfd file",
+    'Comment'    : 'The default height of widgets for widgets that '
+                 + 'don\'t specify height in .gfd file.',
+    'Description': 'The default height of widgets for widgets that '
+                 + 'don\'t specify height in .gfd file.',
     'Typecast'   : GTypecast.whole,
     'Default'    : 1 },
 
   { 'Name'       : 'widgetWidth',
     'Type'       : 'Setting',
-    'Comment'    : "The default width of widgets for widgets that don't 
specify width in .gfd file",
-    'Description': "The default width of widgets for widgets that don't 
specify width in .gfd file",
+    'Comment'    : 'The default width of widgets for widgets that '
+                 + 'don\'t specify width in .gfd file.',
+    'Description': 'The default width of widgets for widgets that '
+                 + 'don\'t specify width in .gfd file.',
     'Typecast'   : GTypecast.whole,
     'Default'    : 10 },
 
   { 'Name'       : 'fixedWidthFont',
     'Type'       : 'Setting',
-    'Comment'    : 'Set to true if wxWidgets clients should use a fixed width 
font',
-    'Description': 'Set to true if wxWidgets clients should use a fixed width 
font',
+    'Comment'    : 'Set to true if wxWidgets clients should use '
+                 + 'a fixed width font.',
+    'Description': 'The next 2 options are only used by the wxPython 
clients.\n'
+                 + 'Normally, default font style and size is used, '
+                 + 'according to the active theme.\n'
+                 + 'Set to true if wxWidgets clients should use '
+                 + 'a fixed width font.',
     'Typecast'   : GTypecast.boolean,
     'Default'    : True },
 
   { 'Name'       : 'pointSize',
     'Type'       : 'Setting',
-    'Comment'    : 'If fixedWidthFont is set to true, then this is the point 
size used for fonts.',
-    'Description': 'If fixedWidthFont is set to true, then this is the point 
size used for fonts.',
+    'Comment'    : 'If fixedWidthFont is set to true, then this is the '
+                 + 'point size used for fonts.',
+    'Description': 'If fixedWidthFont is set to true, then this is the '
+                 + 'point size used for fonts.',
     'Typecast'   : GTypecast.whole,
     'Default'    : 14 },
 
-  { 'Name'       : 'faceName',
+  { 'Name'       : 'focusColor',
     'Type'       : 'Setting',
-    'Comment'    : 'If fixedWidthFont is set to true, then this is the face 
name used for fonts.',
-    'Description': 'If fixedWidthFont is set to true, then this is the face 
name used for fonts.',
+    'Comment'    : 'The color of a highlighted (ie focused) widget.',
+    'Description': 'The color of a highlighted (ie focused) widget. '
+                 + 'Leave empty if you don\'t want highlight. '
+                 + 'Format is: "RRGGBB", each digit being hexadecimal.',
     'Typecast'   : GTypecast.text,
     'Default'    : '' },
 
-  { 'Name'       : 'checkboxTrue',
+  { 'Name'       : 'faceName',
     'Type'       : 'Setting',
-    'Comment'    : 'The default value stored in the database for True values',
-    'Description': 'The default value stored in the database for True values',
+    'Comment'    : 'If fixedWidthFont is set to true, then this is '
+                 + 'the face name used for fonts.',
+    'Description': 'If fixedWidthFont is set to true, then this is '
+                 + 'the face name used for fonts.',
     'Typecast'   : GTypecast.text,
-    'Default'    : 'Y' },
+    'Default'    : '' },
 
-  { 'Name'       : 'checkboxFalse',
-    'Type'       : 'Setting',
-    'Comment'    : 'The default value stored in the database for false values',
-    'Description': 'The default value stored in the database for false values',
-    'Typecast'   : GTypecast.text,
-    'Default'    : 'N' },
-
   { 'Name'       : 'DropdownSeparator',
     'Type'       : 'Setting',
     'Comment'    : 'Text used to concatenation dropdown descriptions',
-    'Description': 'Text used to concatenation dropdown descriptions (when 
multiple description fields are used)',
+    'Description': 'Text used to concatenation dropdown descriptions '
+                 + '(when multiple description fields are used)',
     'Typecast'   : GTypecast.text,
     'Default'    : ', ' },
 
-  { 'Name'       : 'DefaultUI',
-    'Type'       : 'Setting',
-    'Comment'    : 'The default user interface driver to use if not specified 
on the command line.',
-    'Description': 'The default user interface driver to use if not specified 
on the command line.',
-    'Typecast'   : GTypecast.text,
-    'Default'    : 'wx' },
-
   { 'Name'       : 'IconSet',
     'Type'       : 'Setting',
     'Comment'    : 'The default icon set.',
@@ -377,61 +381,16 @@
 
   { 'Name'       : 'dropdownMode',
     'Type'       : 'Setting',
-    'Comment'    : 'The style of dropdown handler to use. Possible values: 
auto, windows, gtk1',
-    'Description': 'The style of dropdown handler to use. Possible values: 
auto, windows, gtk1',
+    'Comment'    : 'The style of dropdown handler to use for the wx uidriver. '
+    'Description': 'The style of dropdown handler to use for the wx uidriver. '
     'Typecast'   : GTypecast.text,
+    'Options'    : ['auto', 'windows', 'gtk1'],
     'Default'    : 'auto' },
 
-  { 'Name'       : 'focusColor',
+  { 'Name'       : 'AsteriskWildcard',
     'Type'       : 'Setting',
-    'Comment'    : 'The color of a highlighted (ie focused) widget. Leave 
empty if you don\'t want highlight. Format is: "RRGGBB", each digit being 
hexadecimal.',
-    'Description': 'The color of a highlighted (ie focused) widget. Leave 
empty if you don\'t want highlight. Format is: "RRGGBB", each digit being 
hexadecimal.',
-    'Typecast'   : GTypecast.text,
-    'Default'    : '' },
-
-  #
-  # Do not alter below here unless you really, really want to (and you know 
what you are doing)
-  #
-
-#  { 'Name'       : '_msgNOTSAVED',
-#    'Type'       : 'Setting',
-#    'Comment'    : 'Message to display when data has not been saved',
-#    'Description': 'Message to display when data has not been saved',
-#    'Typecast'   : GTypecast.text,
-#    'Default'    : 'Data not saved. Commit or rollback changes.' },
-
-#  { 'Name'       : 'DEBUG',
-#    'Type'       : 'Setting',
-#    'Comment'    : 'Message to display when data has not been saved',
-#    'Description': 'Message to display when data has not been saved',
-#    'Typecast'   : GTypecast.text,
-#    'Default'    : 'Data not saved. Commit or rollback changes.' },
-
-#  { 'Name'       : '_msgDETAILNOTSAVED',
-#    'Type'       : 'Setting',
-#    'Comment'    : 'Message to display when detail data has not been saved',
-#    'Description': 'Message to display when detail data has not been saved',
-#    'Typecast'   : GTypecast.text,
-#    'Default'    : "This record's detail information is not saved." },
-
-  { 'Name'       : 'BorderPercentage',
-    'Type'       : 'Setting',
-    'Comment'    : 'Fudge factor for altering widget size',
-    'Description': 'Fudge factor for altering widget size',
-    'Typecast'   : GTypecast.number,
-    'Default'    : 100.0 },
-
-  { 'Name'       : 'TextPercentage',
-    'Type'       : 'Setting',
-    'Comment'    : 'Fudge factor for altering text size',
-    'Description': 'Fudge factor for altering text size',
-    'Typecast'   : GTypecast.number,
-    'Default'    : 100.0 },
-
-  { 'Name'       : 'AsterickWildcard',
-    'Type'       : 'Setting',
-    'Comment'    : 'Use asterick (*) for wildcards in addition to percent (%)',
-    'Description': 'Use asterick (*) for wildcards in addition to percent (%)',
+    'Comment'    : 'Use asterisk (*) for wildcards in addition to percent (%)',
+    'Description': 'Use asterisk (*) for wildcards in addition to percent (%)',
     'Typecast'   : GTypecast.boolean,
     'Default'    : True },
 


Property changes on: trunk/gnue-forms/src/GFConfig.py
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: trunk/gnue-navigator/src/GNConfig.py
===================================================================
--- trunk/gnue-navigator/src/GNConfig.py        2005-02-18 09:51:49 UTC (rev 
7039)
+++ trunk/gnue-navigator/src/GNConfig.py        2005-02-18 11:22:44 UTC (rev 
7040)
@@ -1,7 +1,7 @@
 #
 # Copyright 2001-2005 Free Software Foundation
 #
-# This file is part of GNU Enterprise.
+# This file is part of GNU Enterprise
 #
 # GNU Enterprise is free software; you can redistribute it
 # and/or modify it under the terms of the GNU General Public
@@ -18,13 +18,13 @@
 # write to the Free Software Foundation, Inc., 59 Temple Place
 # - Suite 330, Boston, MA 02111-1307, USA.
 #
-# FILE:
-# GNConfig.py
-#
-# DESCRIPTION:
-#
-# NOTES:
-#
+# $Id$
+
+"""
+Valid configuration options for navigator
+(appears under [navigator] section in gnue.conf)
+"""
+
 from gnue.common.formatting import GTypecast
 
 ConfigOptions = (
@@ -68,19 +68,21 @@
     'Comment'    : "Do not display the splashscreen.",
     'Description': "Do not display the splashscreen.",
     'Typecast'   : GTypecast.boolean,
-    'Default'    : 1 },
+    'Default'    : True },
   
   { 'Name'       : 'embedForms',
     'Type'       : 'Setting',
     'Comment'    : "Do not open separate window to display a GNUe Form.",
     'Description': "Do not open separate window to display a GNUe Form.",
     'Typecast'   : GTypecast.boolean,
-    'Default'    : 1 },
+    'Default'    : True },
 
   { 'Name'       : 'hourglassDelay',
     'Type'       : 'Setting',
-    'Comment'    : "The number of seconds to display the hourglass when 
launching a program",
-    'Description': "The number of seconds to display the hourglass when 
launching a program",
+    'Comment'    : 'The number of seconds to display the hourglass '
+                 + 'when launching a program.',
+    'Description': 'The number of seconds to display the hourglass '
+                 + 'when launching a program.',
     'Typecast'   : GTypecast.whole,
     'Default'    : 5 },
 )


Property changes on: trunk/gnue-navigator/src/GNConfig.py
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: trunk/gnue-reports/src/base/GRConfig.py
===================================================================
--- trunk/gnue-reports/src/base/GRConfig.py     2005-02-18 09:51:49 UTC (rev 
7039)
+++ trunk/gnue-reports/src/base/GRConfig.py     2005-02-18 11:22:44 UTC (rev 
7040)
@@ -1,6 +1,8 @@
 #
-# This file is part of GNU Enterprise.
+# Copyright 2001-2005 Free Software Foundation
 #
+# This file is part of GNU Enterprise
+#
 # GNU Enterprise is free software; you can redistribute it
 # and/or modify it under the terms of the GNU General Public
 # License as published by the Free Software Foundation; either
@@ -16,25 +18,16 @@
 # write to the Free Software Foundation, Inc., 59 Temple Place
 # - Suite 330, Boston, MA 02111-1307, USA.
 #
-# Copyright 2001-2005 Free Software Foundation
-#
-# FILE:
-# GRConfig.py
-#
-# DESCRIPTION:
-#
-# NOTES:
-#
+# $Id$
+
+"""
+Valid configuration options for reports
+(appears under [reports] section in gnue.conf)
+"""
+
 from gnue.common.formatting import GTypecast
 
 ConfigOptions = (
-  { 'Name'       : 'ReportsDir',
-    'Type'       : 'Setting',
-    'Comment'    : 'The default location for grd files.',
-    'Description': 'The default location for grd files.',
-    'Typecast'   :  GTypecast.text,
-    'Default'    : 'reports' },
-
   { 'Name'       : 'FiltersDir',
     'Type'       : 'Setting',
     'Comment'    : 'The default location for filter files.',
@@ -49,62 +42,6 @@
     'Typecast'   :  GTypecast.text,
     'Default'    : 'report-filters.conf' },
 
-  { 'Name'       : 'DefaultDestinationType',
-    'Type'       : 'Setting',
-    'Comment'    : 'The default destination type if none specified on command 
line.',
-    'Description': 'The default destination type if none specified on command 
line.',
-    'Typecast'   :  GTypecast.text,
-    'Default'    : 'printer' },
-
-  { 'Name'       : 'DefaultDestination',
-    'Type'       : 'Setting',
-    'Comment'    : 'The default destination if none specified on command 
line.',
-    'Description': 'The default destination if none specified on command 
line.',
-    'Typecast'   :  GTypecast.text,
-    'Default'    : 'lp' },
-
-  { 'Name'       : 'DefaultFilter',
-    'Type'       : 'Setting',
-    'Comment'    : 'The default filter if none specified on command line.',
-    'Description': 'The default filter if none specified on command line.',
-    'Typecast'   :  GTypecast.text,
-    'Default'    : 'text' },
-
-  { 'Name'       : 'FileAdapter',
-    'Type'       : 'Setting',
-    'Comment'    : 'The default adapter for -D file.',
-    'Description': 'The default adapter for -D file.',
-    'Typecast'   :  GTypecast.text,
-    'Default'    : 'text' },
-
-  { 'Name'       : 'EmailAdapter',
-    'Type'       : 'Setting',
-    'Comment'    : 'The default adapter for -D email.',
-    'Description': 'The default adapter for -D email.',
-    'Typecast'   :  GTypecast.text,
-    'Default'    : 'sendmail' },
-
-  { 'Name'       : 'PrinterAdapter',
-    'Type'       : 'Setting',
-    'Comment'    : 'The default adapter for -D printer.',
-    'Description': 'The default adapter for -D printer.',
-    'Typecast'   :  GTypecast.text,
-    'Default'    : 'bsd' },
-
-  { 'Name'       : 'FaxAdapter',
-    'Type'       : 'Setting',
-    'Comment'    : 'The default adapter for -D fax.',
-    'Description': 'The default adapter for -D fax.',
-    'Typecast'   :  GTypecast.text,
-    'Default'    : 'hylafax' },
-
-  { 'Name'       : 'SendmailFrom',
-    'Type'       : 'Setting',
-    'Comment'    : 'The email address to put in the from line of generated 
email.',
-    'Description': 'The email address to put in the from line of generated 
email',
-    'Typecast'   : GTypecast.text,
-    'Default'    : 'GNUe Reports <address@hidden>'},
-
   { 'Name'       : 'SendmailBin',
     'Type'       : 'Setting',
     'Comment'    : 'The sendmail binary name.',
@@ -112,6 +49,15 @@
     'Typecast'   : GTypecast.text,
     'Default'    : 'sendmail'},
 
+  { 'Name'       : 'SendmailFrom',
+    'Type'       : 'Setting',
+    'Comment'    : 'The email address to put in the "From" line '
+                 + 'of generated email.',
+    'Description': 'The email address to put in the "From" line '
+                 + 'of generated email',
+    'Typecast'   : GTypecast.text,
+    'Default'    : 'GNUe Reports <address@hidden>'},
+
   { 'Name'       : 'SendmailSubject',
     'Type'       : 'Setting',
     'Comment'    : 'The text to put in the Subject line of generated email.',
@@ -121,15 +67,22 @@
 
   { 'Name'       : 'HylafaxCommand',
     'Type'       : 'Setting',
-    'Comment'    : 'The commandline to be run when sending report output to a 
fax.',
-    'Description': 'The commandline to be run when sending report output to a 
fax.',
+    'Comment'    : 'The commandline to be run when sending '
+                 + 'report output to a fax.',
+    'Description': 'The commandline to be run when sending '
+                 + 'report output to a fax.',
     'Typecast'   : GTypecast.text,
     'Default'    : 'sendfax -d %s'},
 
   { 'Name'       : 'LprCommand',
     'Type'       : 'Setting',
-    'Comment'    : 'The commandline to be run when sending report output to a 
fax.',
-    'Description': 'Create new records in blocks automagically when you hit 
the bottom.',
+    'Comment'    : 'The commandline to be run when sending '
+                 + 'report output to a printer.',
+    'Description': 'The commandline to be run when sending '
+                 + 'report output to a printer.\n'
+                 + ' (%s will be replaced with the printer name.)',
+    'Options'    : ['LprCommand = /usr/bin/lpr -P%s',
+                    'LprCommand = print /d:%s #Windows']
     'Typecast'   : GTypecast.text,
     'Default'    : '/usr/bin/lpr -h -P%s'},
 )


Property changes on: trunk/gnue-reports/src/base/GRConfig.py
___________________________________________________________________
Name: svn:keywords
   + Id





reply via email to

[Prev in Thread] Current Thread [Next in Thread]