commit-gnue
[Top][All Lists]
Advanced

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

gnue/designer/src SchemaViewer.py


From: Arturas Kriukovas
Subject: gnue/designer/src SchemaViewer.py
Date: Wed, 03 Jul 2002 10:58:07 -0400

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Arturas Kriukovas <address@hidden>      02/07/03 10:58:07

Modified files:
        designer/src   : SchemaViewer.py 

Log message:
        Prepared strings for i18n, although did not found where those strings in
        designer appear.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/designer/src/SchemaViewer.py.diff?cvsroot=OldCVS&tr1=1.5&tr2=1.6&r1=text&r2=text

Patches:
Index: gnue/designer/src/SchemaViewer.py
diff -c gnue/designer/src/SchemaViewer.py:1.5 
gnue/designer/src/SchemaViewer.py:1.6
*** gnue/designer/src/SchemaViewer.py:1.5       Fri Jun 28 00:03:37 2002
--- gnue/designer/src/SchemaViewer.py   Wed Jul  3 10:58:07 2002
***************
*** 53,60 ****
               style=wxLC_REPORT|
                     wxLC_HRULES|wxLC_VRULES|wxLC_SINGLE_SEL)
  
!     self.list.InsertColumn(0,'Name')
!     self.list.InsertColumn(1,'Type')
  
      self.schemaPanel = ChildSchemaViewer(self, self.splitter)
  
--- 53,60 ----
               style=wxLC_REPORT|
                     wxLC_HRULES|wxLC_VRULES|wxLC_SINGLE_SEL)
  
!     self.list.InsertColumn(0,_('Name'))
!     self.list.InsertColumn(1,_('Type'))
  
      self.schemaPanel = ChildSchemaViewer(self, self.splitter)
  
***************
*** 72,84 ****
           style=wxRAISED_BORDER|wxCLIP_CHILDREN)
  
  
!     self.connLabel = wxStaticText(self.combopanel, -1, "Connection: ",
           pos=wxPoint(4,6))
      self.connCombo = wxComboBox(self.combopanel, -1,
           pos=wxPoint(self.connLabel.GetSize().width + 10,4),
  #         size=self.connLabel.GetSize(),
           style=wxCB_READONLY)
!     self.typeLabel = wxStaticText(self.combopanel, -1, "Show: ",
           pos=wxPoint(self.connCombo.GetPosition().x + \
                       self.connCombo.GetSize().width + 20,6))
      self.typeCombo = wxComboBox(self.combopanel, -1,
--- 72,84 ----
           style=wxRAISED_BORDER|wxCLIP_CHILDREN)
  
  
!     self.connLabel = wxStaticText(self.combopanel, -1, _("Connection: "),
           pos=wxPoint(4,6))
      self.connCombo = wxComboBox(self.combopanel, -1,
           pos=wxPoint(self.connLabel.GetSize().width + 10,4),
  #         size=self.connLabel.GetSize(),
           style=wxCB_READONLY)
!     self.typeLabel = wxStaticText(self.combopanel, -1, _("Show: "),
           pos=wxPoint(self.connCombo.GetPosition().x + \
                       self.connCombo.GetSize().width + 20,6))
      self.typeCombo = wxComboBox(self.combopanel, -1,
***************
*** 311,321 ****
      self.list = wxListCtrl(self, -1, pos=wxPoint(0,0),
               style=wxLC_REPORT|wxLC_HRULES|wxLC_VRULES)
  
!     self.list.InsertColumn(SCH_FIELD, 'Field')
!     self.list.InsertColumn(SCH_TYPE,  'Base Type')
!     self.list.InsertColumn(SCH_SIZE,  'Size', wxLIST_FORMAT_RIGHT)
!     self.list.InsertColumn(SCH_NATIVE,'Native Type')
!     self.list.InsertColumn(SCH_REQ,   'Required')
  
      EVT_SIZE(self, self.OnSize)
      EVT_LIST_ITEM_SELECTED(self, self.list.GetId(), self.OnFieldSelected)
--- 311,321 ----
      self.list = wxListCtrl(self, -1, pos=wxPoint(0,0),
               style=wxLC_REPORT|wxLC_HRULES|wxLC_VRULES)
  
!     self.list.InsertColumn(SCH_FIELD, _('Field'))
!     self.list.InsertColumn(SCH_TYPE,  _('Base Type'))
!     self.list.InsertColumn(SCH_SIZE,  _('Size'), wxLIST_FORMAT_RIGHT)
!     self.list.InsertColumn(SCH_NATIVE,_('Native Type'))
!     self.list.InsertColumn(SCH_REQ,   _('Required'))
  
      EVT_SIZE(self, self.OnSize)
      EVT_LIST_ITEM_SELECTED(self, self.list.GetId(), self.OnFieldSelected)



reply via email to

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