[Glade-users] Possible regression?

Hi list,

I have an interface with some GtkActions and GtkButtons . The buttons
have the "related-action" property set to corresponding actions but
doesn't use action's appearance, instead, they have a custom child, an
image. Problem goes here: loading the interface causes some
gtk-warnings, the buttons doesn't show the images, instead, they use
the long label from the related action:

 Gtk-WARNING **: Attempting to add a widget with type GtkImage to a
GtkButton, but as a GtkBin subclass a GtkButton can only contain one
widget at a time; it already contains a widget of type GtkLabel

This doesn't happended 2 or 3 months ago, not sure about the version
but currently I'm using glade 3.10.0 and Gtk+  3.0.12

A simple example in python is attached, using C gives the same results.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: activatable-test.py
Type: text/x-python
Size: 693 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/glade-users/attachments/20110907/45005d55/attachment.py 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: activatable-test.ui
Type: application/x-designer
Size: 2441 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/glade-users/attachments/20110907/45005d55/attachment.bin 

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