Re: [PATCH 3/3] generator, add info about generated page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: pgpbLlZUXJB4W.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]