1. Why is icon gtk-yes shown properly in the title bar but icon gtk-open isn't? Many other stock icons aren't shown in the same way...
2. Is it possible to show a window icon by specifying its full path?
The same issues and questions extend to the tree widget using <tree icon-name="..."> for a column default icon or <item icon-name="..."> for an item icon.
Finally, googlecode gtkdialog doc says that a stock icon should be specified with stock-id="gtk-yes" rather than icon-name="gtk-yes" as in my first example below, but stock-id produces no icon here (Fatdog64).
Code: Select all
# echo '<window icon-name="gtk-yes"><hbox><button ok></button></hbox></window>' | gtkdialog -c -s
EXIT="OK"
# echo '<window icon-name="gtk-open"><hbox><button ok></button></hbox></window>' | gtkdialog -c -s
EXIT="OK"
# echo '<window icon-name="/usr/share/icons/hicolor/16x16/apps/geany.png"><hbox><button ok></button></hbox></window>' | gtkdialog -c -s
EXIT="OK"