Ignore:
Timestamp:
Jul 9, 2010 4:19:33 PM (14 years ago)
Author:
liebster
Message:

reverting commit [3698] (svn merge -r 3698:3697 http://svn.quintagroup.com/products/quintagroup.gdocs.spreadsheet/trunk/).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.gdocs.spreadsheet/trunk/quintagroup/gdocs/spreadsheet/content/gspreadsheet.py

    r2659 r2661  
    1515 
    1616    atapi.StringField( 
    17         name = 'spreadsheet_title', 
     17        name = 'spreadsheet_id', 
    1818        default='', 
    19         searchable = True, 
    2019        required = True, 
    2120        languageIndependent=True, 
     
    2322        widget = atapi.StringWidget( 
    2423            label = _( 
    25                 u'label_spreadsheet_title', 
    26                 default=u'Spreadsheet Title'), 
     24                u'label_spreadsheet_id', 
     25                default=u'Spreadsheet ID'), 
    2726            description=_( 
    28                 u'help_spreadsheet_title', 
    29                 default=u"Please input title Google Spreadsheet."), 
     27                u'help_spreadsheet_id', 
     28                default=u"Please input spreadsheet ID."), 
    3029            size = 40, 
    3130        ), 
    3231    ), 
    3332 
    34     atapi.IntegerField( 
    35         name = 'worksheet_index', 
     33    atapi.StringField( 
     34        name = 'worksheet_id', 
    3635        default='', 
    37         searchable = True, 
    3836        required = True, 
    3937        languageIndependent=True, 
    4038        storage=atapi.AnnotationStorage(), 
    41         widget = atapi.IntegerWidget( 
     39        widget = atapi.StringWidget( 
    4240            label = _( 
    43                 u'label_worksheet_index', 
    44                 default=u'Worksheet Index'), 
     41                u'label_worksheet_id', 
     42                default=u'Worksheet ID'), 
    4543            description=_( 
    46                 u'help_worksheet_index', 
    47                 default=u"Please input worksheet index start from zero."), 
    48             size = 3, 
     44                u'help_worksheet_id', 
     45                default=u"Please input worksheet ID."), 
     46            size = 40, 
    4947        ), 
    5048    ), 
     
    7169    title = atapi.ATFieldProperty('title') 
    7270    description = atapi.ATFieldProperty('description') 
    73     spreadsheet_title = atapi.ATFieldProperty('spreadsheet_title') 
    74     worksheet_index = atapi.ATFieldProperty('worksheet_index') 
     71    spreadsheet_id = atapi.ATFieldProperty('spreadsheet_id') 
     72    worksheet_id = atapi.ATFieldProperty('worksheet_id') 
    7573 
    7674    # -*- Your ATSchema to Python Property Bridges Here ... -*- 
Note: See TracChangeset for help on using the changeset viewer.