commit-gnue
[Top][All Lists]
Advanced

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

gnue/navigator/src GNClient.py


From: Jason Cater
Subject: gnue/navigator/src GNClient.py
Date: Tue, 04 Jun 2002 23:54:28 -0400

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    02/06/04 23:54:27

Modified files:
        navigator/src  : GNClient.py 

Log message:
        more work on native support for forms

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/navigator/src/GNClient.py.diff?cvsroot=OldCVS&tr1=1.8&tr2=1.9&r1=text&r2=text

Patches:
Index: gnue/navigator/src/GNClient.py
diff -c gnue/navigator/src/GNClient.py:1.8 gnue/navigator/src/GNClient.py:1.9
*** gnue/navigator/src/GNClient.py:1.8  Tue Jun  4 19:20:47 2002
--- gnue/navigator/src/GNClient.py      Tue Jun  4 23:54:27 2002
***************
*** 40,55 ****
  from gnue.common import GDataObjects, GConnections
  from gnue.common.GClientApp import *
  from gnue.navigator import VERSION
! from gnue.navigator.GNConfig import ConfigOptions
  
  class GNClient(GClientApp):
    #
    # GClientApp() overrides
    #
    VERSION = VERSION
!   COMMAND = "gnuenav"
    NAME = "GNUe Navigator"
!   USAGE = "gnuenav [options] file"
    COMMAND_OPTIONS = [
        [ 'user_interface', 'u', 'user_interface', 1, 'gui', 'type',
            'The currently supported values for <type> are ' \
--- 40,59 ----
  from gnue.common import GDataObjects, GConnections
  from gnue.common.GClientApp import *
  from gnue.navigator import VERSION
! 
! from GNConfig import ConfigOptions as NavigationConfigOptions
! 
! # TODO: Please go away!!!!!
! from gnue.forms.GFConfig import ConfigOptions
  
  class GNClient(GClientApp):
    #
    # GClientApp() overrides
    #
    VERSION = VERSION
!   COMMAND = "gnue-navigator"
    NAME = "GNUe Navigator"
!   USAGE = "[options] file"
    COMMAND_OPTIONS = [
        [ 'user_interface', 'u', 'user_interface', 1, 'gui', 'type',
            'The currently supported values for <type> are ' \
***************
*** 68,74 ****
    # Initialize the class
    #
    def __init__(self, connections=None):
!     GClientApp.__init__(self, connections,'navigator', ConfigOptions)
  
      self._formInstances = {}
      self._lastSerialNumber = 0
--- 72,79 ----
    # Initialize the class
    #
    def __init__(self, connections=None):
!     GClientApp.__init__(self, connections,'forms', ConfigOptions)
!     
self.configurationManager.loadApplicationConfig(section="navigator",defaults=NavigationConfigOptions)
  
      self._formInstances = {}
      self._lastSerialNumber = 0



reply via email to

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