Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question has already which icon names you can pass to the set_icon_full (set_icon is deprecated if someone is wondering), but I couldn't find ressources of how to set a custom icon from a file coming with the application?

  • Is it generally recommended (because icons shipped with the application won't change with icon theme)?
  • How to accomplish it?
share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

I had a quick look at the documentation, have you set icon-theme-path to point to the icon's installed location?

share|improve this answer
    
After calling set_icon_theme_path you can reference your-icon.png under the "icon name" your-icon. Thanks a lot. –  phineas Mar 31 '12 at 13:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.