зеркало из https://github.com/mozilla/gecko-dev.git
Adding the skindemo file to the make system.
This commit is contained in:
Родитель
1e50b6b9c1
Коммит
cb2499cbe2
|
@ -43,7 +43,8 @@ EXPORT_RESOURCE_SAMPLES = \
|
|||
$(srcdir)/navigator-goofy.css \
|
||||
$(srcdir)/navigator-test1.xul \
|
||||
$(srcdir)/raindrops_light.gif \
|
||||
$(NULL)
|
||||
$(srcdir)/skindemo.xul \
|
||||
$(NULL)
|
||||
|
||||
install::
|
||||
$(INSTALL) $(EXPORT_RESOURCE_SAMPLES) $(DIST)/bin/res/samples
|
||||
|
|
|
@ -81,6 +81,7 @@ install:: $(DLL)
|
|||
$(MAKE_INSTALL) navigator-goofy.css $(DIST)\bin\res\samples
|
||||
$(MAKE_INSTALL) navigator-shiny.css $(DIST)\bin\res\samples
|
||||
$(MAKE_INSTALL) raindrops_light.gif $(DIST)\bin\res\samples
|
||||
$(MAKE_INSTALL) skindemo.xul $(DIST)\bin\res\samples
|
||||
|
||||
clobber::
|
||||
rm -f $(DIST)\bin\$(DLLNAME).dll
|
||||
|
|
|
@ -31,9 +31,10 @@ function applySkin(url)
|
|||
dump("Doing the assert.\n");
|
||||
ds.Assert(s, p, newTarget, true);
|
||||
|
||||
dump("Saving the chrome to disk.\n");
|
||||
ds.Flush();
|
||||
dump("Loading the new chrome.\n");
|
||||
window.top.location.href = "chrome://navigator/content/";
|
||||
|
||||
dump("Done. Open a new window to see the chrome.\n");
|
||||
}
|
||||
</html:script>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче