~toolpart/+junk/pythoncard

« back to all changes in this revision

Viewing changes to tools/experimentalResourceEditor/templates/templateFullMenus.rsrc.py

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi
  • Date: 2010-03-04 23:55:10 UTC
  • mfrom: (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100304235510-3v6lbhzwrgm0pcca
Tags: 0.8.2-1
* QA upload.
* New upstream release
* debian/control
  - set maintainer to QA group
  - set Homepage field, removing the URL from packages description
  - bump versioned b-d-i on python-support, to properly support Python module
  - replace b-d on python-all-dev with python-all, since building only
    arch:all packages
  - replace Source-Version substvar with source:Version
  - add ${misc:Depends} to binary packages Depends
* debian/watch
  - updated to use the SourceForge redirector; thanks to Raphael Geissert for
    the report and to Dario Minnucci for the patch; Closes: #449904
* debian/{pythoncard-doc, python-pythoncard}.install
  - use wildcards instead of site-packages to fix build with python 2.6;
    thanks to Ilya Barygin for the report and patch; Closes: #572332
* debian/pythoncard-doc.doc-base
  - set section to Programmin/Python
* debian/pythoncard-tools.menu
  - set menu main section to Applications
* debian/pythoncard-tools.postinst
  - removed, needed only to update the menu, but it's now created by debhelper

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
{ 'application':{ 'type':'Application',
 
3
            'name':'Template',
 
4
 
 
5
    'backgrounds':
 
6
 [ 
 
7
  { 'type':'Background',
 
8
    'name':'bgTemplate',
 
9
    'title':'Standard Template with full menus',
 
10
    'size':( 400, 300 ),
 
11
    'style':['resizeable'],
 
12
    'statusBar':1,
 
13
 
 
14
    'menubar': 
 
15
    { 
 
16
        'type':'MenuBar',
 
17
        'menus': 
 
18
        [
 
19
            { 'type':'Menu',
 
20
              'name':'menuFile',
 
21
              'label':'&File',
 
22
              'items': [ 
 
23
                { 'type':'MenuItem',
 
24
                  'name':'menuFileNew',
 
25
                  'label':'&New\tCtrl+N' },
 
26
                { 'type':'MenuItem',
 
27
                  'name':'menuFileOpen',
 
28
                  'label':'&Open\tCtrl+O' },
 
29
                { 'type':'MenuItem',
 
30
                  'name':'menuFileSave',
 
31
                  'label':'&Save\tCtrl+S' },
 
32
                { 'type':'MenuItem',
 
33
                  'name':'menuFileSaveAs',
 
34
                  'label':'Save &As...' },
 
35
                { 'type':'MenuItem', 'name':'fileSep1', 'label':'-' },
 
36
                { 'type':'MenuItem',
 
37
                  'name':'menuFilePageSetup',
 
38
                  'label':'Page Set&up...' },
 
39
                { 'type':'MenuItem',
 
40
                  'name':'menuFilePrint',
 
41
                  'label':'&Print...\tCtrl+P' },
 
42
                { 'type':'MenuItem',
 
43
                  'name':'menuFilePrintPreview',
 
44
                  'label':'Print Pre&view' },
 
45
                { 'type':'MenuItem', 'name':'fileSep2', 'label':'-' },
 
46
                { 'type':'MenuItem',
 
47
                  'name':'menuFileExit',
 
48
                  'label':'E&xit\tAlt+X',
 
49
                  'command':'exit', } ] },
 
50
            # most of the edit menu was copied from the searchexplorer sample
 
51
            {'type':'Menu',
 
52
             'name':'Edit',
 
53
             'label':'&Edit',
 
54
             'items': [ { 'type':'MenuItem',
 
55
                          'name':'menuEditUndo',
 
56
                          'label':'&Undo\tCtrl+Z'},
 
57
                        { 'type':'MenuItem',
 
58
                          'name':'menuEditRedo',
 
59
                          'label':'&Redo\tCtrl+Y'},
 
60
                        { 'type':'MenuItem', 'name':'editSep1', 'label':'-' },
 
61
                        { 'type':'MenuItem',
 
62
                          'name':'menuEditCut',
 
63
                          'label':'Cu&t\tCtrl+X'},
 
64
                        { 'type':'MenuItem',
 
65
                          'name':'menuEditCopy',
 
66
                          'label':'&Copy\tCtrl+C'},
 
67
                        { 'type':'MenuItem',
 
68
                          'name':'menuEditPaste',
 
69
                          'label':'&Paste\tCtrl+V'},
 
70
                        { 'type':'MenuItem', 'name':'editSep2', 'label':'-' },
 
71
                        { 'type':'MenuItem',
 
72
                          'name':'menuEditClear',
 
73
                          'label':'Cle&ar\tDel'},
 
74
                        { 'type':'MenuItem',
 
75
                          'name':'menuEditSelectAll',
 
76
                          'label':'Select A&ll\tCtrl+A'}
 
77
                        ] },
 
78
            { 'type':'Menu',
 
79
              'name':'menuHelp',
 
80
              'label':'&Help',
 
81
              'items': [ 
 
82
                { 'type':'MenuItem',
 
83
                  'name':'menuHelpAbout',
 
84
                  'label':'&About ...',
 
85
                  'command':'doHelpAbout'},
 
86
                ] },
 
87
        ]       
 
88
    },
 
89
 
 
90
   'components':
 
91
   [ 
 
92
   ]
 
93
  }
 
94
 ]
 
95
 }
 
96
 }
 
97