mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1433715 - Make fallback folder icon content-accessible. r=Gijs
The skin used on Firefox for Android doesn't style directory listing, hence we fall back to using the default icon from gre/res/html. As of bug 863246, this location is no longer accessible from content as a resource://, hence the file needs moving into the special content-accessible directory. MozReview-Commit-ID: obtefafqul --HG-- extra : rebase_source : 0227487abb4914a11f5749c493d215a1fec45e46
This commit is contained in:
parent
c4601413b4
commit
faa05c4265
@ -694,7 +694,6 @@
|
||||
#endif
|
||||
@RESPATH@/res/fonts/*
|
||||
@RESPATH@/res/dtd/*
|
||||
@RESPATH@/res/html/*
|
||||
@RESPATH@/res/language.properties
|
||||
#ifdef XP_MACOSX
|
||||
@RESPATH@/res/MainMenu.nib/
|
||||
|
@ -212,7 +212,7 @@ LOCAL_INCLUDES += [
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
||||
|
||||
RESOURCE_FILES.html = [
|
||||
CONTENT_ACCESSIBLE_FILES.html = [
|
||||
'folder.png',
|
||||
]
|
||||
|
||||
|
@ -468,7 +468,6 @@
|
||||
@BINPATH@/res/table-remove-row.gif
|
||||
@BINPATH@/res/grabber.gif
|
||||
@BINPATH@/res/dtd/*
|
||||
@BINPATH@/res/html/*
|
||||
@BINPATH@/res/language.properties
|
||||
|
||||
#ifndef MOZ_ANDROID_EXCLUDE_FONTS
|
||||
|
@ -351,7 +351,7 @@ nsIndexedToHTML::DoOnStartRequest(nsIRequest* request, nsISupports *aContext,
|
||||
" vertical-align: middle;\n"
|
||||
"}\n"
|
||||
".dir::before {\n"
|
||||
" content: url(resource://gre/res/html/folder.png);\n"
|
||||
" content: url(resource://content-accessible/html/folder.png);\n"
|
||||
"}\n"
|
||||
"</style>\n"
|
||||
"<link rel=\"stylesheet\" media=\"screen, projection\" type=\"text/css\""
|
||||
|
Loading…
Reference in New Issue
Block a user