I'm using the following code to load a stock icon into my GNOME2 panel
applet.

  image = gtk.Image()
  image.set_from_stock("gtk-yes",gtk.ICON_SIZE_LARGE_TOOLBAR)

However, as I change the size of my panel (3rd button on Panel ->
Properties -> Size), my icon does not seem to properly size with the
panel, even if I restart X or reload my applet.  What is the correct way
to load icons in the GNOME2 applet panel so they automatically size
themselves to the user's preference?  I've looked at the gtk docs --
section "Themeable Stock Images", but I can't figure it out.  Any help
would be appreciated.  Thanks.
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to