We need to use the icon theme framework. This code isn't in C, I know :)

  icon_theme = gtk.icon_theme_get_default()
  try:
      pixbuf = icon_theme.load_icon("my-icon-name", 48, 0)
  except gobject.GError, exc:
      print "can't load icon", exc

The artwork team is on it.

-- 
Tangerine look for synaptic
https://launchpad.net/bugs/40583

--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to