Why Glade 3 removes unknown elements
"Dos Santos, Oliveira" <[email protected]> Fri, 22 Mar 2013 11:07:51 +0100
| Newsgroups | gmane.comp.gnome.glade.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============1331521458==
Content-Language: en-US
Content-Type: multipart/alternative;
boundary="_000_03DD8591022238418FAD9197DAB27BA3010B970E851EGVAMAILgvae_"
--_000_03DD8591022238418FAD9197DAB27BA3010B970E851EGVAMAILgvae_
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Hi everybody,
I'm building applications to experiment several standards defined by EBU. I=
choose to use Glade to accelerate my developments. I started all with Glad=
e 2 and now I decided to switch to Glade 3. I have quickly fixed the GtkBox=
troubles to avoid Glade 3 crashes. All was fine except my Gtk::MenuButton.=
.. Glade 3 removes them automatically from my XML source each time I open i=
t. Why ???
Glade 2 doesn't support Gtk::MenuButton. So I have converted, into the XML =
source, a Gtk::Button into a Gtk::MenuButton. It works fine and when I ope=
n the file into Glade 2 it returns me a warning message instead of the Gtk:=
:MenuButton with the choice to suppress or not this unknown element (unknow=
n only for Glade, not for the GtkBuilder).
Could you restore this option (ask to user before remove) or add the suppor=
t for Gtk::MenuButton :-) Or must I continue with Glade 2 ???
Regards
Marco Dos Santos Oliveira
EBU/European Broadcasting Union
Technology and Innovation Department
---------------------------------------------------------------------------=
---
**************************************************
This email and any files transmitted with it are confidential and intended =
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error, please notify the system manager.=
This footnote also confirms that this email message has been swept by the =
mailgateway
**************************************************
--_000_03DD8591022238418FAD9197DAB27BA3010B970E851EGVAMAILgvae_
Content-Type: text/html; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-GB link=3Dblue vli=
nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>Hi everybody,<o:=
p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>=
I’m building applications to experiment several standards defined by =
EBU. I choose to use Glade to accelerate my developments. I started all wit=
h Glade 2 and now I decided to switch to Glade 3. I have quickly fixed the =
GtkBox troubles to avoid Glade 3 crashes. All was fine except my Gtk::MenuB=
utton... Glade 3 removes them automatically from my XML source each time I =
open it. Why ???<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p=
class=3DMsoNormal>Glade 2 doesn't support Gtk::MenuButton. So I have conve=
rted, into the XML source, a Gtk::Button into a Gtk::MenuButton. It w=
orks fine and when I open the file into Glade 2 it returns me a warning mes=
sage instead of the Gtk::MenuButton with the choice to suppress or not this=
unknown element (unknown only for Glade, not for the GtkBuilder).<o:p></o:=
p></p><p class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>Could =
you restore this option (ask to user before remove) or add the support for =
Gtk::MenuButton :-) Or must I continue with Glade 2 ???<o:p></o:p></p><p cl=
ass=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>Regards<o:p></o:p=
></p><p class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>Marco D=
os Santos Oliveira<o:p></o:p></p><p class=3DMsoNormal>EBU/European Broadcas=
ting Union<o:p></o:p></p><p class=3DMsoNormal>Technology and Innovation Dep=
artment<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p></div><p></=
p><hr size=3D"1"><p></p>
<p><strong>
**************************************************<br>
This email and any files transmitted with it =
are confidential and intended solely for the =
use of the individual or entity to whom they
are addressed. <br>
If you have received this email in error, =
please notify the system manager.
This footnote also confirms that this email =
message has been swept by the mailgateway<br>
**************************************************
</strong></p></body></html>
--_000_03DD8591022238418FAD9197DAB27BA3010B970E851EGVAMAILgvae_--
--===============1331521458==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Glade-devel maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/glade-devel
--===============1331521458==--