move platform-specific images to their respective platform
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 206 B After Width: | Height: | Size: 206 B |
Before Width: | Height: | Size: 282 B After Width: | Height: | Size: 282 B |
Before Width: | Height: | Size: 314 B After Width: | Height: | Size: 314 B |
Before Width: | Height: | Size: 475 B After Width: | Height: | Size: 475 B |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
@ -1463,7 +1463,7 @@ vAPI.toolbarButton.init = function() {
|
|||||||
this.styleURI = [
|
this.styleURI = [
|
||||||
'#' + this.id + ' {',
|
'#' + this.id + ' {',
|
||||||
'list-style-image: url(',
|
'list-style-image: url(',
|
||||||
vAPI.getURL('img/browsericons/ff-icon16-off.svg'),
|
vAPI.getURL('img/browsericons/icon16-off.svg'),
|
||||||
');',
|
');',
|
||||||
'}',
|
'}',
|
||||||
'#' + this.viewId + ', #' + this.viewId + ' > iframe {',
|
'#' + this.viewId + ', #' + this.viewId + ' > iframe {',
|
||||||
@ -1675,7 +1675,7 @@ vAPI.toolbarButton.updateState = function(win, tabId) {
|
|||||||
icon = '';
|
icon = '';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
icon = 'url(' + vAPI.getURL('img/browsericons/ff-icon16.svg') + ')';
|
icon = 'url(' + vAPI.getURL('img/browsericons/icon16.svg') + ')';
|
||||||
}
|
}
|
||||||
|
|
||||||
button.style.listStyleImage = icon;
|
button.style.listStyleImage = icon;
|
||||||
@ -1766,7 +1766,7 @@ vAPI.contextMenu.register = function(doc) {
|
|||||||
var menuitem = doc.createElement('menuitem');
|
var menuitem = doc.createElement('menuitem');
|
||||||
menuitem.setAttribute('id', this.menuItemId);
|
menuitem.setAttribute('id', this.menuItemId);
|
||||||
menuitem.setAttribute('label', this.menuLabel);
|
menuitem.setAttribute('label', this.menuLabel);
|
||||||
menuitem.setAttribute('image', vAPI.getURL('img/browsericons/ff-icon16.svg'));
|
menuitem.setAttribute('image', vAPI.getURL('img/browsericons/icon16.svg'));
|
||||||
menuitem.setAttribute('class', 'menuitem-iconic');
|
menuitem.setAttribute('class', 'menuitem-iconic');
|
||||||
menuitem.addEventListener('command', this.onCommand);
|
menuitem.addEventListener('command', this.onCommand);
|
||||||
contextMenu.addEventListener('popupshowing', this.displayMenuItem);
|
contextMenu.addEventListener('popupshowing', this.displayMenuItem);
|
||||||
|
Before Width: | Height: | Size: 113 B After Width: | Height: | Size: 113 B |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 161 B |
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 158 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 224 B After Width: | Height: | Size: 224 B |
@ -19,6 +19,7 @@ cp -R src/_locales $DES/
|
|||||||
cp -R $DES/_locales/nb $DES/_locales/no
|
cp -R $DES/_locales/nb $DES/_locales/no
|
||||||
cp src/*.html $DES/
|
cp src/*.html $DES/
|
||||||
cp platform/chromium/*.js $DES/js/
|
cp platform/chromium/*.js $DES/js/
|
||||||
|
cp -R platform/chromium/img $DES/
|
||||||
cp platform/chromium/*.html $DES/
|
cp platform/chromium/*.html $DES/
|
||||||
cp platform/chromium/manifest.json $DES/
|
cp platform/chromium/manifest.json $DES/
|
||||||
cp LICENSE.txt $DES/
|
cp LICENSE.txt $DES/
|
||||||
|
@ -20,6 +20,7 @@ mv $DES/img/icon_128.png $DES/icon.png
|
|||||||
cp platform/firefox/vapi-*.js $DES/js/
|
cp platform/firefox/vapi-*.js $DES/js/
|
||||||
cp platform/firefox/bootstrap.js $DES/
|
cp platform/firefox/bootstrap.js $DES/
|
||||||
cp platform/firefox/frame*.js $DES/
|
cp platform/firefox/frame*.js $DES/
|
||||||
|
cp -R platform/firefox/img $DES/
|
||||||
cp platform/firefox/chrome.manifest $DES/
|
cp platform/firefox/chrome.manifest $DES/
|
||||||
cp platform/firefox/install.rdf $DES/
|
cp platform/firefox/install.rdf $DES/
|
||||||
cp platform/firefox/*.xul $DES/
|
cp platform/firefox/*.xul $DES/
|
||||||
|
@ -18,6 +18,7 @@ cp -R src/_locales $DES/
|
|||||||
cp src/*.html $DES/
|
cp src/*.html $DES/
|
||||||
mv $DES/img/icon_128.png $DES/Icon.png
|
mv $DES/img/icon_128.png $DES/Icon.png
|
||||||
cp platform/safari/*.js $DES/js/
|
cp platform/safari/*.js $DES/js/
|
||||||
|
cp -R platform/safari/img $DES/
|
||||||
cp platform/safari/Info.plist $DES/
|
cp platform/safari/Info.plist $DES/
|
||||||
cp platform/safari/Settings.plist $DES/
|
cp platform/safari/Settings.plist $DES/
|
||||||
cp LICENSE.txt $DES/
|
cp LICENSE.txt $DES/
|
||||||
|