[Glade-devel] Why Glade 3 removes unknown elements
Dos Santos, Oliveira
dossantos at ebu.ch
Fri Mar 22 13:46:24 UTC 2013
Hi Tristan,
I'm running on Glade 3.8.3 under Fedora 18 x64. It's the official Fedora release, I didn't built it from the source.
Regards
Marco Dos Santos Oliveira
EBU/European Broadcasting Union
Technology and Innovation Department
-----Original Message-----
From: Tristan Van Berkom [mailto:tristan.van.berkom at gmail.com]
Sent: vendredi 22 mars 2013 14:25
To: Dos Santos, Oliveira
Cc: glade-devel at lists.ximian.com
Subject: Re: [Glade-devel] Why Glade 3 removes unknown elements
On Fri, Mar 22, 2013 at 7:07 PM, Dos Santos, Oliveira <dossantos at ebu.ch> wrote:
> 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 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::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 widget 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 open 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
> support 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
> **************************************************
>
>
> _______________________________________________
> Glade-devel maillist - Glade-devel at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/glade-devel
>
------------------------------------------------------------------------------
**************************************************
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
**************************************************
More information about the Glade-devel
mailing list