Bug 621091 - Linux Theme should use moz-icon://stock/gtk-file for blank documents. r=dao

This commit is contained in:
Pascal Chevrel 2011-01-18 09:43:01 +01:00
parent bbdaf318b3
commit bb56226081
7 changed files with 14 additions and 14 deletions

View File

@ -55,7 +55,7 @@ treechildren::-moz-tree-image(noicon) {
}
treechildren::-moz-tree-image(noicon) {
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
list-style-image: url("moz-icon://stock/gtk-file?size=menu");
}
treechildren::-moz-tree-image(container, noicon) {
list-style-image: url("chrome://browser/skin/aboutSessionRestore-window-icon.png");

View File

@ -196,8 +196,7 @@ menuitem.bookmark-item {
/* Bookmark items */
.bookmark-item:not([container]) {
list-style-image: url("chrome://global/skin/icons/folder-item.png");
-moz-image-region: rect(0px, 16px, 16px, 0px)
list-style-image: url("moz-icon://stock/gtk-file?size=menu");
}
.bookmark-item[container] {
@ -1002,12 +1001,11 @@ toolbar[iconsize="small"] #feed-button {
}
#page-proxy-favicon:not([src]) {
list-style-image: url("chrome://global/skin/icons/folder-item.png");
-moz-image-region: rect(0px, 16px, 16px, 0px);
list-style-image: url("moz-icon://stock/gtk-file?size=menu");
}
#page-proxy-favicon[pageproxystate="invalid"] {
-moz-image-region: rect(16px, 16px, 32px, 0px);
opacity: 0.3;
}
#urlbar-throbber {
@ -1498,8 +1496,7 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
width: 16px;
height: 16px;
-moz-margin-end: 3px;
list-style-image: url("chrome://global/skin/icons/folder-item.png");
-moz-image-region: rect(0px, 16px, 16px, 0px);
list-style-image: url("moz-icon://stock/gtk-file?size=menu");
}
.tab-throbber {
@ -1616,8 +1613,7 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
/* All tabs menupopup */
.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
list-style-image: url("chrome://global/skin/icons/folder-item.png");
-moz-image-region: rect(0px, 16px, 16px, 0px);
list-style-image: url("moz-icon://stock/gtk-file?size=menu");
}
.alltabs-item[selected="true"] {

View File

@ -23,7 +23,7 @@ treechildren::-moz-tree-image(title) {
margin: 0px 2px;
width: 16px;
height: 16px;
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
list-style-image: url("moz-icon://stock/gtk-file?size=menu");
}
treechildren::-moz-tree-image(title, livemarkItem) {

View File

@ -21,8 +21,7 @@
.searchbar-engine-image {
height: 16px;
width: 16px;
list-style-image: url("chrome://global/skin/icons/folder-item.png");
-moz-image-region: rect(0px, 16px, 16px, 0px);
list-style-image: url("moz-icon://stock/gtk-file?size=menu");
-moz-margin-start: 2px;
}

View File

@ -357,7 +357,13 @@ interface nsIFaviconDataCallback : nsISupports
* Notification sent when all favicons are expired.
*/
#define NS_PLACES_FAVICONS_EXPIRED_TOPIC_ID "places-favicons-expired"
#ifdef MOZ_WIDGET_GTK2
#define FAVICON_DEFAULT_URL "moz-icon://stock/gtk-file?size=toolbarsmall"
#else
#define FAVICON_DEFAULT_URL "chrome://mozapps/skin/places/defaultFavicon.png"
#endif
#define FAVICON_ERRORPAGE_URL "chrome://global/skin/icons/warning-16.png"
%}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -40,7 +40,6 @@ toolkit.jar:
+ skin/classic/global/icons/blacklist_favicon.png (icons/blacklist_favicon.png)
+ skin/classic/global/icons/blacklist_large.png (icons/blacklist_large.png)
+ skin/classic/global/icons/find.png (icons/find.png)
+ skin/classic/global/icons/folder-item.png (icons/folder-item.png)
+ skin/classic/global/icons/loading_16.png (icons/loading_16.png)
+ skin/classic/global/icons/notloading_16.png (icons/notloading_16.png)
+ skin/classic/global/icons/panelarrow-horizontal.svg (icons/panelarrow-horizontal.svg)