Public bug reported:

>From gtk documentation
(http://library.gnome.org/devel/gtk/unstable/GtkButton.html#gtk-button-
set-image):

gtk_button_set_image ()
Set the image of button to the given widget. Note that it depends on the 
"gtk-button-images" setting whether the image will be displayed or not, you 
don't have to call gtk_widget_show() on image yourself.

This is not true in karmic anymore ( version 2.17.7-0ubuntu3), now I
need to call gtk_widget_show() on the button image every time I call
gtk_button_set_image or gtk_button_set_label.

In previous versions of gtk this works as expected, now some
applications that depended on the documented behaviour presented missing
images in karmic, making them a bit uggly.

If this is just a behaviour change then the documentation should be
updated so that developers like myself can fix their apps, otherwise I
believe this is bug that can present some unexpected results in a lot of
applications.

** Affects: gtk+2.0 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
karmic gtk_button_set_image needs gtk_widget_show
https://bugs.launchpad.net/bugs/419211
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to