J
Problem description: The scaling property of the gnomepixbuf was lost when a project in glade was saved. This was a headache when one used glade and
HMI_GTK using images to develop an HMI like the interfaces of the oven_gtk demo because each time one saved a change on the interface, all the scaled properties of the gnomepixbuf widgets were lost.
Solution: using glade 0.6.2 tarball in the file /glade/gnome/gnomepixmap.c line 105
change
if (data->action == GB_SHOWING)
to
if (scaled || data->action == GB_SHOWING)
and compile using the usual ( It requires gtkdevel and gnome-devel packages).
./configure
make
make install
If this change is made, it will also be good to erase the comment on line 37, 38 because now we are saving the scaled property.
I already sent this information to the Glade-Devel mailing list.
Regards,
Juan Carlos Orozco
ACElab Industrial Automation
[email protected]
www.ace-lab.com
HMI_GTK using images to develop an HMI like the interfaces of the oven_gtk demo because each time one saved a change on the interface, all the scaled properties of the gnomepixbuf widgets were lost.
Solution: using glade 0.6.2 tarball in the file /glade/gnome/gnomepixmap.c line 105
change
if (data->action == GB_SHOWING)
to
if (scaled || data->action == GB_SHOWING)
and compile using the usual ( It requires gtkdevel and gnome-devel packages).
./configure
make
make install
If this change is made, it will also be good to erase the comment on line 37, 38 because now we are saving the scaled property.
I already sent this information to the Glade-Devel mailing list.
Regards,
Juan Carlos Orozco
ACElab Industrial Automation
[email protected]
www.ace-lab.com