Sparkle dialog in iPhoto plugin shows only generic icon

Asked by slandvogt

I try to use Sparkle in an iPhoto export plugin. When the sparkle dialog actually comes up after the modal dialog ended, the dialog itself does not show the correct icon on the upper left. Only a small generic app icon is shown.

Is there a way to specify that icon, or can I convince Sparkle to e.g. use the application icon?

PS: Its a pity that I cannot provide a screenshot here to clearify what I mean...

Question information

Language:
English Edit question
Status:
Solved
For:
Sparkle Edit question
Assignee:
No assignee Edit question
Solved by:
Andy Matuschak
Solved:
Last query:
Last reply:
Revision history for this message
Best Andy Matuschak (andymatuschak) said :
#1

Oh, good question. Sparkle will use the icon of the bundle that's hosting it. That means *your* bundle. So set a CFBundleIcon value in your Info.plist.

Revision history for this message
slandvogt (stefan-landvogt) said :
#2

Adding the following to Info.plist solved the problem:

 <key>CFBundleIconFile</key>
 <string>bundle_icon</string>

Also the Resources folder has to contain a file named bundle_icon.icns

Revision history for this message
slandvogt (stefan-landvogt) said :
#3

Thanks Andy Matuschak, that solved my question.