commit-gnue
[Top][All Lists]
Advanced

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

gnue/designer/src PropertyEditor.py


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

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

Modified files:
        designer/src   : PropertyEditor.py 

Log message:
        Prepared strings for i18n, although did not find where designer does
        display them.

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

Patches:
Index: gnue/designer/src/PropertyEditor.py
diff -c gnue/designer/src/PropertyEditor.py:1.24 
gnue/designer/src/PropertyEditor.py:1.25
*** gnue/designer/src/PropertyEditor.py:1.24    Fri Jun 28 00:03:37 2002
--- gnue/designer/src/PropertyEditor.py Wed Jul  3 10:59:10 2002
***************
*** 567,574 ****
  #
  #
  class PropertyToolFrame(ToolFrame):
    def __init__(self, instance, title): 
!     ToolFrame.__init__(self, instance, "Property Editor")
  
      self.backpanel = wxPanel(self, -1, pos=wxPoint(0,0), 
size=self.GetClientSize())
  #    self.backpanel = self
--- 567,575 ----
  #
  #
  class PropertyToolFrame(ToolFrame):
+   print "VEIKIA! :)"
    def __init__(self, instance, title): 
!     ToolFrame.__init__(self, instance, _("Property Editor"))
  
      self.backpanel = wxPanel(self, -1, pos=wxPoint(0,0), 
size=self.GetClientSize())
  #    self.backpanel = self
***************
*** 583,592 ****
      self.eventEditor = EventEditor(
           self.notebook, instance, instance.rootObject)
  
!     self.notebook.AddPage(self.propertyEditor, 'Properties')
!     self.notebook.AddPage(self.eventEditor, 'Events')
  
!     self.objectLabel = wxStaticText(self.toolpanel, -1, "Object: ", 
           pos=wxPoint(4,6))
      self.objectCombo = wxComboBox(self.toolpanel, -1, 
           pos=wxPoint(self.objectLabel.GetSize().width + 10,4), 
--- 584,593 ----
      self.eventEditor = EventEditor(
           self.notebook, instance, instance.rootObject)
  
!     self.notebook.AddPage(self.propertyEditor, _('Properties'))
!     self.notebook.AddPage(self.eventEditor, _('Events'))
  
!     self.objectLabel = wxStaticText(self.toolpanel, -1, _("Object: "), 
           pos=wxPoint(4,6))
      self.objectCombo = wxComboBox(self.toolpanel, -1, 
           pos=wxPoint(self.objectLabel.GetSize().width + 10,4), 



reply via email to

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