Re: Why Glade 3 removes unknown elements

Tristan Van Berkom <[email protected]> Fri, 22 Mar 2013 22:24:42 +0900
Newsgroups gmane.comp.gnome.glade.devel
Message-ID <CAGUy9WKSj3P8ODC5REnmDwwJ80EAhBQGXwO1C8zvtUq-PpU2GA@mail.gmail.com>
On Fri, Mar 22, 2013 at 7:07 PM, Dos Santos, Oliveira <[email protected]> wr=
ote:
> Hi everybody,
>
>
>
> I=92m building applications to experiment several standards defined by EB=
U. I
> choose to use Glade to accelerate my developments. I started all with Gla=
de
> 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 it.
> Why ???

I think Juan implemented something for that (by storing the unrecognised wi=
dget
and re-adding the xml at save time).

Note that 'custom widgets' Glade 2 style is deprecated in favour of just
using a small xml catalog to define the custom widgets you want to
add in your own project (which will show up in Glade's palette).

What version of Glade are you running, have you tried it with 3.14.x ?

Cheers,
    -Tristan

>
>
>
> 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 o=
pen
> 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
> (unknown only for Glade, not for the GtkBuilder).
>
>
>
> Could you restore this option (ask to user before remove) or add the supp=
ort
> 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 manage=
r.
> This footnote also confirms that this email message has been swept by the
> mailgateway
> **************************************************
>
>
> _______________________________________________
> Glade-devel maillist  -  [email protected]
> http://lists.ximian.com/mailman/listinfo/glade-devel
>
_______________________________________________
Glade-devel maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/glade-devel