зеркало из https://github.com/mozilla/pjs.git
Adding the skindemo file to the make system.
This commit is contained in:
Родитель
d9c0c0d5bf
Коммит
4bf1eb3587
|
@ -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>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче