[Glade-devel] Why Glade 3 removes unknown elements



Thank you Tristan :) 

I hadn't seen yet the release 3.14 on yum... arf... now I'm on glade 3.14.2 :-)

I install/update my applications with the yum commandlines... and when I list the "glade3" references, it 
returns only the 3.8.3... To see the last release of Glade, I must list "glade" only, and then... magic... 
the 3.14.2 is there :P magic kick in my ass... I feel a bit silly...

Again a great thank Tristan !

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 15:08
To: Dos Santos, Oliveira
Cc: glade-devel at lists.ximian.com
Subject: Re: [Glade-devel] Why Glade 3 removes unknown elements

Right... that's the last Glade which supports GTK+2.x

Actually Glade >= 3.10 can be used for projects targeting GTK+2 but special care needs to be taken to avoid 
using any widgets that are new in GTK+3.

The main reason Glade 3.10 does not support GTK+2 is because Glade >= 3.10 needs to link against GTK+ 3 to 
provide new widgets and features...

This basically means that Glade >= 3.10 does not have any support for the removed types which were already 
deprecated in GTK+ 2.24 (anything from GTK+2 that is not included in GTK+3, Glade >= 3.10 does not support).

The feature you are looking for was only ever added to Glade as of 3.14.0 (I searched for it and found it in 
these notes:
http://ftp.gnome.org/pub/gnome/sources/glade/3.14/glade-3.14.0.news)

Since 3.8.x is intended to be supported in the long(ish) term, we do fix bugs in 3.8 because people need it 
to work on GTK+2 projects, introducing such a feature into 3.8 is a kindof grey area (we don't intend to add 
features to Glade 3.8.x, just fix bugs, but this feature is perhaps worth backporting).

However, our focus is on delivering the next stable Glade 3.16, and I can't promise that I will have time to 
backport that feature... as more people are switching to GTK+ 3 for new projects, it's becoming less 
important (but not less demanding) to pay attention to the old 3.8 branch.

Also... are you sure fedora doesnt have a more recent version ?

Note that Glade 3.8 & Glade 3.14 are parallel installable, this was ensured so that people can use an older 
Glade on the same system to edit GTK+2 based Glade projects as well as newer projects which use GTK+3.

On Fri, Mar 22, 2013 at 10:46 PM, Dos Santos, Oliveira <dossantos at ebu.ch> wrote:
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
**************************************************

------------------------------------------------------------------------------

**************************************************
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
**************************************************





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