gtk_button_new_from_stock () does not find icons.
- From: N James Bridge <james xmas demon co uk>
- To: gtk-app-devel <gtk-app-devel-list gnome org>
- Subject: gtk_button_new_from_stock () does not find icons.
- Date: Fri, 04 Jun 2010 20:33:41 +0100
I don't know if this is a fedora problem or a gtk one...
I have been writing some short gtk programs, as a learning exercise. So
far as I can see, I should be able to add items from stock, but the
images are missing and all I get are the default items as mnemonics. I
have attached a short example. It compiles with:
gcc stock.c `pkg-config --cflags gtk+-2.0 --libs gtk+-2.0`
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.
Any suggestions most welcome!
--
N James Bridge <james xmas demon co uk>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]