[Glade-users] More Glade weirdness

Tristan Van Berkom tristan.van.berkom at gmail.com
Thu Feb 26 09:58:18 EST 2009


On Thu, Feb 26, 2009 at 9:46 AM, John Coppens <john at jcoppens.com> wrote:
> Hello people...
>
> Another problem:
>
> When copying a button with an icon, only the button is copied, it appears
> empty at the destination.
>
> This is worse if, copying eg. a hbox with several buttons w/ icons: All
> of them loose their contents.
>
> Am I doing something wrong here?

No this is still an outstanding bug, kindof  - I may need your help to
define the correct behavior :)

It seems after testing it here Glade almost has the right behaviour, notice
when copy/pasting widgets the icons are also copied along and the properties
intact, only it doesnt show up on the screen and the terminal spews out a
widget reparenting warning (that part should be easy to fix) - right now
reloading the project will get you the right visual effect (but still gives you
that reparenting warning).

That behaviour is currently assumed for all GParamObject properties
that are marked with a parentless-widget attribute (probably a misnomer),
basically a special case for target objects that can only be reffered to
by one widget at a time.

The part of code that isnt written yet is how to handle that stuff when
the target project != the source project...

Cheers,
                   -Tristan


More information about the Glade-users mailing list