Bug 893297 - Icon problem when installing an app from within another app (yo dawg). r=Mossop
--HG-- rename : browser/themes/linux/webapps-16.png => toolkit/themes/linux/global/icons/webapps-16.png rename : browser/themes/linux/webapps-64.png => toolkit/themes/linux/global/icons/webapps-64.png rename : browser/themes/osx/webapps-16.png => toolkit/themes/osx/global/icons/webapps-16.png rename : browser/themes/osx/webapps-16@2x.png => toolkit/themes/osx/global/icons/webapps-16@2x.png rename : browser/themes/osx/webapps-64.png => toolkit/themes/osx/global/icons/webapps-64.png rename : browser/themes/windows/webapps-16.png => toolkit/themes/windows/global/icons/webapps-16.png rename : browser/themes/windows/webapps-64.png => toolkit/themes/windows/global/icons/webapps-64.png
@ -1185,7 +1185,7 @@ toolbar[iconsize="small"] #webrtc-status-button {
|
||||
}
|
||||
|
||||
.popup-notification-icon[popupid="webapps-install"] {
|
||||
list-style-image: url(chrome://browser/skin/webapps-64.png);
|
||||
list-style-image: url(chrome://global/skin/icons/webapps-64.png);
|
||||
}
|
||||
|
||||
.popup-notification-icon[popupid="mixed-content-blocked"] {
|
||||
@ -1265,7 +1265,7 @@ toolbar[iconsize="small"] #webrtc-status-button {
|
||||
}
|
||||
|
||||
#webapps-notification-icon {
|
||||
list-style-image: url(chrome://browser/skin/webapps-16.png);
|
||||
list-style-image: url(chrome://global/skin/icons/webapps-16.png);
|
||||
}
|
||||
|
||||
#plugins-notification-icon {
|
||||
|
@ -233,8 +233,6 @@ browser.jar:
|
||||
skin/classic/browser/syncQuota.css
|
||||
skin/classic/browser/syncProgress.css
|
||||
#endif
|
||||
skin/classic/browser/webapps-16.png
|
||||
skin/classic/browser/webapps-64.png
|
||||
skin/classic/browser/notification-pluginNormal.png (../shared/plugins/notification-pluginNormal.png)
|
||||
skin/classic/browser/notification-pluginAlert.png (../shared/plugins/notification-pluginAlert.png)
|
||||
skin/classic/browser/notification-pluginBlocked.png (../shared/plugins/notification-pluginBlocked.png)
|
||||
|
@ -3150,12 +3150,12 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
|
||||
|
||||
.webapps-notification-icon,
|
||||
#webapps-notification-icon {
|
||||
list-style-image: url(chrome://browser/skin/webapps-16.png);
|
||||
list-style-image: url(chrome://global/skin/icons/webapps-16.png);
|
||||
}
|
||||
@media (min-resolution: 2dppx) {
|
||||
.webapps-notification-icon,
|
||||
#webapps-notification-icon {
|
||||
list-style-image: url(chrome://browser/skin/webapps-16@2x.png);
|
||||
list-style-image: url(chrome://global/skin/icons/webapps-16@2x.png);
|
||||
}
|
||||
}
|
||||
|
||||
@ -3403,7 +3403,7 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
|
||||
}
|
||||
|
||||
.popup-notification-icon[popupid="webapps-install"] {
|
||||
list-style-image: url(chrome://browser/skin/webapps-64.png);
|
||||
list-style-image: url(chrome://global/skin/icons/webapps-64.png);
|
||||
}
|
||||
|
||||
.popup-notification-icon[popupid="mixed-content-blocked"] {
|
||||
|
@ -331,9 +331,6 @@ browser.jar:
|
||||
skin/classic/browser/tabbrowser/alltabs-box-bkgnd-icon@2x.png (tabbrowser/alltabs-box-bkgnd-icon-lion@2x.png)
|
||||
skin/classic/browser/lion/tabview/tabview.png (tabview/tabview-lion.png)
|
||||
skin/classic/browser/lion/places/toolbar.png (places/toolbar-lion.png)
|
||||
skin/classic/browser/webapps-16.png
|
||||
skin/classic/browser/webapps-16@2x.png
|
||||
skin/classic/browser/webapps-64.png
|
||||
skin/classic/browser/notification-pluginNormal.png (../shared/plugins/notification-pluginNormal.png)
|
||||
skin/classic/browser/notification-pluginAlert.png (../shared/plugins/notification-pluginAlert.png)
|
||||
skin/classic/browser/notification-pluginBlocked.png (../shared/plugins/notification-pluginBlocked.png)
|
||||
|
@ -2455,7 +2455,7 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
|
||||
}
|
||||
|
||||
.popup-notification-icon[popupid="webapps-install"] {
|
||||
list-style-image: url(chrome://browser/skin/webapps-64.png);
|
||||
list-style-image: url(chrome://global/skin/icons/webapps-64.png);
|
||||
}
|
||||
|
||||
.popup-notification-icon[popupid="mixed-content-blocked"] {
|
||||
@ -2533,7 +2533,7 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
|
||||
}
|
||||
|
||||
#webapps-notification-icon {
|
||||
list-style-image: url(chrome://browser/skin/webapps-16.png);
|
||||
list-style-image: url(chrome://global/skin/icons/webapps-16.png);
|
||||
}
|
||||
|
||||
#plugins-notification-icon {
|
||||
|
@ -70,8 +70,6 @@ browser.jar:
|
||||
skin/classic/browser/urlbar-arrow.png
|
||||
skin/classic/browser/urlbar-popup-blocked.png
|
||||
skin/classic/browser/urlbar-history-dropmarker.png
|
||||
skin/classic/browser/webapps-16.png
|
||||
skin/classic/browser/webapps-64.png
|
||||
skin/classic/browser/notification-pluginNormal.png (../shared/plugins/notification-pluginNormal.png)
|
||||
skin/classic/browser/notification-pluginAlert.png (../shared/plugins/notification-pluginAlert.png)
|
||||
skin/classic/browser/notification-pluginBlocked.png (../shared/plugins/notification-pluginBlocked.png)
|
||||
@ -327,8 +325,6 @@ browser.jar:
|
||||
skin/classic/aero/browser/urlbar-arrow.png
|
||||
skin/classic/aero/browser/urlbar-popup-blocked.png
|
||||
skin/classic/aero/browser/urlbar-history-dropmarker.png
|
||||
skin/classic/aero/browser/webapps-16.png
|
||||
skin/classic/aero/browser/webapps-64.png
|
||||
skin/classic/aero/browser/notification-pluginNormal.png (../shared/plugins/notification-pluginNormal.png)
|
||||
skin/classic/aero/browser/notification-pluginAlert.png (../shared/plugins/notification-pluginAlert.png)
|
||||
skin/classic/aero/browser/notification-pluginBlocked.png (../shared/plugins/notification-pluginBlocked.png)
|
||||
|
Before Width: | Height: | Size: 475 B After Width: | Height: | Size: 475 B |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
@ -51,4 +51,6 @@ toolkit.jar:
|
||||
+ skin/classic/global/icons/resizer.png (icons/resizer.png)
|
||||
+ skin/classic/global/icons/sslWarning.png (icons/sslWarning.png)
|
||||
+ skin/classic/global/icons/wrap.png (icons/wrap.png)
|
||||
+ skin/classic/global/icons/webapps-16.png (icons/webapps-16.png)
|
||||
+ skin/classic/global/icons/webapps-64.png (icons/webapps-64.png)
|
||||
+ skin/classic/global/toolbar/spring.png (toolbar/spring.png)
|
||||
|
Before Width: | Height: | Size: 348 B After Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 481 B After Width: | Height: | Size: 481 B |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
@ -142,6 +142,9 @@ toolkit.jar:
|
||||
skin/classic/global/icons/question-64.png (icons/question-64.png)
|
||||
skin/classic/global/icons/question-large.png (icons/question-large.png)
|
||||
skin/classic/global/icons/sslWarning.png (icons/sslWarning.png)
|
||||
skin/classic/global/icons/webapps-16.png (icons/webapps-16.png)
|
||||
skin/classic/global/icons/webapps-16@2x.png (icons/webapps-16@2x.png)
|
||||
skin/classic/global/icons/webapps-64.png (icons/webapps-64.png)
|
||||
skin/classic/global/inContentUI/background-texture.png (inContentUI/background-texture.png)
|
||||
skin/classic/global/notification/close.png (notification/close.png)
|
||||
skin/classic/global/notification/critical-bar-background.png (notification/critical-bar-background.png)
|
||||
|
Before Width: | Height: | Size: 355 B After Width: | Height: | Size: 355 B |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
@ -143,6 +143,8 @@ toolkit.jar:
|
||||
skin/classic/global/icons/warning-64.png (icons/warning-64.png)
|
||||
skin/classic/global/icons/windowControls.png (icons/windowControls.png)
|
||||
skin/classic/global/icons/wrap.png (icons/wrap.png)
|
||||
skin/classic/global/icons/webapps-16.png (icons/webapps-16.png)
|
||||
skin/classic/global/icons/webapps-64.png (icons/webapps-64.png)
|
||||
skin/classic/global/inContentUI/background-texture.png (inContentUI/background-texture.png)
|
||||
skin/classic/global/media/TopLevelImageDocument.css (media/TopLevelImageDocument.css)
|
||||
skin/classic/global/media/TopLevelVideoDocument.css (media/TopLevelVideoDocument.css)
|
||||
@ -323,6 +325,8 @@ toolkit.jar:
|
||||
skin/classic/aero/global/icons/warning-64.png (icons/warning-64-aero.png)
|
||||
skin/classic/aero/global/icons/windowControls.png (icons/windowControls-aero.png)
|
||||
skin/classic/aero/global/icons/wrap.png (icons/wrap-aero.png)
|
||||
skin/classic/aero/global/icons/webapps-16.png (icons/webapps-16.png)
|
||||
skin/classic/aero/global/icons/webapps-64.png (icons/webapps-64.png)
|
||||
skin/classic/aero/global/inContentUI/background-texture.png (inContentUI/background-texture.png)
|
||||
skin/classic/aero/global/media/TopLevelImageDocument.css (media/TopLevelImageDocument.css)
|
||||
skin/classic/aero/global/media/TopLevelVideoDocument.css (media/TopLevelVideoDocument.css)
|
||||
|
@ -17,12 +17,12 @@
|
||||
*/
|
||||
function getBiggestIconURL(aIcons) {
|
||||
if (!aIcons) {
|
||||
return "chrome://browser/skin/webapps-64.png";
|
||||
return "chrome://global/skin/icons/webapps-64.png";
|
||||
}
|
||||
|
||||
let iconSizes = Object.keys(aIcons);
|
||||
if (iconSizes.length == 0) {
|
||||
return "chrome://browser/skin/webapps-64.png";
|
||||
return "chrome://global/skin/icons/webapps-64.png";
|
||||
}
|
||||
iconSizes.sort(function(a, b) a - b);
|
||||
return aIcons[iconSizes.pop()];
|
||||
|