www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 6b002f7566c97e4a2c8da2bde09ec3f87a0413c9
parent 09d79d6dd778975fd8508994b11ba287323f770b
Author: David Norton <david@nortoncrew.com>
Date:   Tue, 20 Jun 2006 17:08:30 +0000

Got some new icons for the lists
Toolbar buttons are now icons

Diffstat:
Mchrome/chromeFiles/content/scholar/overlay.js | 4++--
Mchrome/chromeFiles/content/scholar/overlay.xul | 6+++---
Mchrome/chromeFiles/skin/default/scholar/overlay.css | 20++++++++++++++++++++
Achrome/chromeFiles/skin/default/scholar/toolbar-collection-add.png | 0
Achrome/chromeFiles/skin/default/scholar/toolbar-collection-edit-gray.png | 0
Achrome/chromeFiles/skin/default/scholar/toolbar-collection-edit.png | 0
Achrome/chromeFiles/skin/default/scholar/toolbar-item-add.png | 0
Mchrome/chromeFiles/skin/default/scholar/treeitem-book.png | 0
Mchrome/chromeFiles/skin/default/scholar/treeitem-journalArticle.png | 0
Mchrome/chromeFiles/skin/default/scholar/treesource-collection.png | 0
Mchrome/chromeFiles/skin/default/scholar/treesource-library.png | 0
11 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/chrome/chromeFiles/content/scholar/overlay.js b/chrome/chromeFiles/content/scholar/overlay.js @@ -107,13 +107,13 @@ var ScholarPane = new function() itemsView = new Scholar.ItemTreeView(collection); document.getElementById('items-tree').view = itemsView; - document.getElementById('tb-rename').disabled = collection.isLibrary(); + document.getElementById('tb-collection-rename').disabled = collection.isLibrary(); itemsView.selection.clearSelection(); } else { document.getElementById('items-tree').view = itemsView = null; - document.getElementById('tb-rename').disabled = true; + document.getElementById('tb-collection-rename').disabled = true; } } diff --git a/chrome/chromeFiles/content/scholar/overlay.xul b/chrome/chromeFiles/content/scholar/overlay.xul @@ -43,8 +43,8 @@ <hbox flex="1"> <vbox persist="width" width="200" style="min-width: 150px;"> <toolbar> - <toolbarbutton label="&toolbar.newCollection.label;" command="cmd_scholar_newCollection"/> - <toolbarbutton id="tb-rename" label="&toolbar.renameCollection.label;" oncommand="ScholarPane.renameSelectedCollection();" disabled="true"/> + <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"/> </toolbar> <tree id="collections-tree" hidecolumnpicker="true" context="scholar-collectionmenu" onselect="ScholarPane.onCollectionSelected();" seltype="single" @@ -65,7 +65,7 @@ <splitter id="scholar-tree-splitter" resizebefore="closest" resizeafter="closest"/> <vbox persist="width" flex="1" style="min-width: 300px;"> <toolbar align="center"> - <toolbarbutton id="tb-add" label="&toolbar.newItem.label;" type="menu"> + <toolbarbutton id="tb-add" tooltiptext="&toolbar.newItem.label;" type="menu"> <menupopup/> </toolbarbutton> <spacer flex="1"/> diff --git a/chrome/chromeFiles/skin/default/scholar/overlay.css b/chrome/chromeFiles/skin/default/scholar/overlay.css @@ -26,6 +26,26 @@ tree #items-tree } +#tb-collection-add +{ + list-style-image: url('chrome://scholar/skin/toolbar-collection-add.png'); +} + +#tb-collection-rename +{ + list-style-image: url('chrome://scholar/skin/toolbar-collection-edit.png'); +} + +#tb-collection-rename[disabled="true"] +{ + list-style-image: url('chrome://scholar/skin/toolbar-collection-edit-gray.png'); +} + +#tb-add +{ + list-style-image: url('chrome://scholar/skin/toolbar-item-add.png'); +} + #scholar-pane toolbar { border-bottom: none; diff --git a/chrome/chromeFiles/skin/default/scholar/toolbar-collection-add.png b/chrome/chromeFiles/skin/default/scholar/toolbar-collection-add.png Binary files differ. diff --git a/chrome/chromeFiles/skin/default/scholar/toolbar-collection-edit-gray.png b/chrome/chromeFiles/skin/default/scholar/toolbar-collection-edit-gray.png Binary files differ. diff --git a/chrome/chromeFiles/skin/default/scholar/toolbar-collection-edit.png b/chrome/chromeFiles/skin/default/scholar/toolbar-collection-edit.png Binary files differ. diff --git a/chrome/chromeFiles/skin/default/scholar/toolbar-item-add.png b/chrome/chromeFiles/skin/default/scholar/toolbar-item-add.png Binary files differ. diff --git a/chrome/chromeFiles/skin/default/scholar/treeitem-book.png b/chrome/chromeFiles/skin/default/scholar/treeitem-book.png Binary files differ. diff --git a/chrome/chromeFiles/skin/default/scholar/treeitem-journalArticle.png b/chrome/chromeFiles/skin/default/scholar/treeitem-journalArticle.png Binary files differ. diff --git a/chrome/chromeFiles/skin/default/scholar/treesource-collection.png b/chrome/chromeFiles/skin/default/scholar/treesource-collection.png Binary files differ. diff --git a/chrome/chromeFiles/skin/default/scholar/treesource-library.png b/chrome/chromeFiles/skin/default/scholar/treesource-library.png Binary files differ.