~vcs-imports/kupfer/master-new

Viewing all changes in revision 2113.

  • Committer: Ulrik Sverdrup
  • Date: 2010-02-11 16:55:15 UTC
  • Revision ID: git-v1:8170b50a5cef96361310fdfbf52d67aafc5ac171
Assign icons to saved kupfer command files

Assign icons by taking the Kupfer icon pixbuf and writing as a
thumbnail for the file. Then we set the metadata property
metadata::custom-icon to point at the thumbnail file, which makes sure
the icon stays with the file as it moves around.

To make this work in the long run, we also always check on an executed
command file if we can refresh its icon.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: