[Spice-devel] [PATCH 3/3] generator, add info about generated page
Christophe Fergeau
cfergeau at redhat.com
Tue Jul 10 02:04:10 PDT 2012
Hey,
On Tue, Jul 10, 2012 at 09:56:14AM +0200, Peter Hatina wrote:
> Added an info, that the test page has been autogenerated and should
> not be modified.
>
> Peter Hatina
> EMEA ENG-Desktop Development
> Red Hat Czech, Brno
>
> ---
> generator/generator.cpp | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/generator/generator.cpp b/generator/generator.cpp
> index fce228c..ee3eedd 100644
> --- a/generator/generator.cpp
> +++ b/generator/generator.cpp
> @@ -82,7 +82,8 @@ void Generator::generateHeader()
> << "<body onload=\"bodyLoad()\" onunload=\"bodyUnload()\">\n\n"
> << "<center>\n"
> << "<h1>SPICE xpi test page (generated)</h1>\n"
> - << "SPICE xpi test page. Disabled (greyed out) values are passed\n"
> + << "This page was autogenerated using IDL description and should not be modified by hand.<br>\n"
Oh, I was more thinking of a <!-- --> comment rather than putting it in the
rendered HTML.
Either way is fine with me, so ACK this patch if you prefer things this
way.
Christophe
> + << "Disabled (greyed out) values are passed\n"
> << "to SPICE xpi as empty variables.\n</center>\n<br/>\n\n"
> << "<embed type=\"application/x-spice\" width=\"0\" height=\"0\" id=\"spice-xpi\"/><br/>\n\n"
> << "<script type=\"text/javascript\">\n\n"
> --
> 1.7.10.4
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120710/362bb817/attachment.pgp>
More information about the Spice-devel
mailing list