On Sun, 2010-06-06 at 05:46 +0300, Marius Feraru wrote: > N James Bridge <james@xxxxxxxxxxxxxxxx> wrote: > > I don't know if this is a fedora problem or a gtk one... > Neither, just your typo, the stock id is "gtk-close". > Other languages may let you interchange "-" and "_", C API doesn't. > You should have noticed button's label was coerced into "gtkclose", > instead your locale's representation for "Close". > Compile and run it again after: > $ sed -i s/gtk_close/gtk-close/ stock.c Actually, I had tried both, and the recommended macro GTK_STOCK_CLOSE. > > > It seems that gtk can't find the directory with the images. The files > > needed seem to be in /usr/share/icons/gnome and show up in the gtk-demo > > program. However, Glade buttons selected from stock do not have the > > icons either. > Activating /desktop/gnome/interface/buttons_have_icons could help: > $ gconftool-2 -s /desktop/gnome/interface/buttons_have_icons -t bool 1 This was the problem. It seems gtk 2.20 sets the option to "no icons" by default and older versions (used in the tutorials etc) did not. The fedora Preferences/Appearance settings don't provide a way to alter this. gconf-editor got it sorted. Thanks for the reply James -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines