4 May
2016
4 May
'16
1:14 p.m.
On Wed, 2016-05-04 at 14:23 +0200, Tavmjong Bah wrote:
We use gtk_icon_size_register() to add a custom logical icon size to the GtkIconSize enum. This is deprecated. The documentation says to use GtkIconTheme instead. But GtkIconTheme (using physical icon sizes) returns a GdkPixbuf. To get a GtkImage widget, one can use gtk_image_new_from_pixbuf() but the comment states that this widget will not react to state changes. If you want it to react to state changes use gtk_image_new_from_icon_name()... which requires passing a GtkIconSize.
Would it work if you packed the GtkImage into a GtkEventBox?
src/widgets/desktop-widget.cpp:448
Martin,