Ignore:
Timestamp:
Sep 21, 2010, 12:29:45 AM (11 years ago)
Author:
rene <just@…>
Branches:
ng_0.6, ng_0.8, ng_0.9
Children:
c65ba0
Parents:
2e8903
Message:

changed vI_rdfDatasource into class to allow multiple instances

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_context.xul

    r2e8903 rc4e569  
    2929<!ENTITY % vIdentDTD SYSTEM "chrome://v_identity/locale/v_identity.dtd">
    3030%vIdentDTD;
     31<!ENTITY % abMainWindowDTD SYSTEM "chrome://messenger/locale/addressbook/abMainWindow.dtd" >
     32%abMainWindowDTD;
    3133]>
    3234
     
    5961                <menuitem label="&vident.vI_Menu.Settings.label;"
    6062                      oncommand="window.open('chrome://v_identity/content/vI_prefDialogOpener.xul', '', 'chrome, dialog, resizable=yes');" />
    61                 <menuitem label="&vident.vI_Menu.DataEditor.label;"
    62                       oncommand="window.open('chrome://v_identity/content/vI_rdfDataTree.xul', '', 'chrome, dialog, resizable=yes');" />
     63                <menu label="&vident.vI_Menu.DataStorage.label;">
     64                    <menupopup>                       
     65                        <menuitem label="&vident.vI_Menu.DataEditor.label;"
     66                            oncommand="window.open('chrome://v_identity/content/vI_rdfDataTree.xul', '', 'chrome, dialog, resizable=yes');" />
     67                        <menuitem label="&importCmd.label;" accesskey="&importCmd.accesskey;" oncommand="vI_rdfDatasource = new vI_rdfDatasource(); vI_rdfDatasource.import('virtualIdentity.rdf')"/>
     68                        <menuitem label="&exportCmd.label;" accesskey="&exportCmd.accesskey;" oncommand="vI_rdfDatasource = new vI_rdfDatasource(); vI_rdfDatasource.export('virtualIdentity.rdf')"/>
     69                    </menupopup>
     70                </menu>
    6371            </menupopup>
    6472        </menu>
Note: See TracChangeset for help on using the changeset viewer.