Fixes #109, add import/export buttons to interface.

- Look under the cog menu above the Projects list.
This commit is contained in:
David Norton 2006-07-05 15:19:18 +00:00
parent 1cdd1f3de2
commit daf8808615

View file

@ -47,7 +47,12 @@
<toolbarbutton id="tb-collection-add" tooltiptext="&toolbar.newCollection.label;" command="cmd_scholar_newCollection"/> <toolbarbutton id="tb-collection-add" tooltiptext="&toolbar.newCollection.label;" command="cmd_scholar_newCollection"/>
<toolbarbutton id="tb-collection-rename" tooltiptext="&toolbar.renameCollection.label;" oncommand="ScholarPane.renameSelectedCollection();" disabled="true"/> <toolbarbutton id="tb-collection-rename" tooltiptext="&toolbar.renameCollection.label;" oncommand="ScholarPane.renameSelectedCollection();" disabled="true"/>
<spacer flex="1"/> <spacer flex="1"/>
<toolbarbutton id="tb-collection-menu" type="menu" menu="scholar-collectionmenu"/> <toolbarbutton id="tb-collection-menu" type="menu">
<menupopup>
<menuitem label="Import..." oncommand="Scholar_File_Interface.importFile();"/>
<menuitem label="Export Library..." oncommand="Scholar_File_Interface.exportFile();"/>
</menupopup>
</toolbarbutton>
</toolbar> </toolbar>
<tree id="collections-tree" hidecolumnpicker="true" context="scholar-collectionmenu" <tree id="collections-tree" hidecolumnpicker="true" context="scholar-collectionmenu"
onselect="ScholarPane.onCollectionSelected();" seltype="single" onselect="ScholarPane.onCollectionSelected();" seltype="single"
@ -73,7 +78,6 @@
</toolbarbutton> </toolbarbutton>
<toolbarbutton label="New Note" oncommand="ScholarPane.openNoteWindow();"/> <toolbarbutton label="New Note" oncommand="ScholarPane.openNoteWindow();"/>
<spacer flex="1"/> <spacer flex="1"/>
<toolbarbutton id="tb-item-menu" type="menu" menu="scholar-itemmenu"/>
<label value="&toolbar.search.label;" control="tb-search"/> <label value="&toolbar.search.label;" control="tb-search"/>
<textbox id="tb-search" type="timed" timeout="250" command="cmd_scholar_search"/> <textbox id="tb-search" type="timed" timeout="250" command="cmd_scholar_search"/>
</toolbar> </toolbar>