Adium

nocollapse)?

Creating Menu Bar Icons

This document goes over the specifications for menu bar icon xtras. The extension of these bundles is AdiumMenuBarIcons. For the location to store these bundles, see AdiumXtras.

Image information

The maximum height for a given image is 22px.

Bundle Layout

YourXtra.AdiumMenuBarIcons

  • Contents/
    • Info.plist
    • Resources/
      • PreviewImage.ext - Optional image in any format (fill in an appropriate value of ext). For use in Xtras manager.
      • Icon.icns - Optional. For use in Xtras manager.
      • Readme.rtf - Optional. For use in Xtras manager.
      • Relevant set images.

Info.plist keys

  • CFBundleName - The name of your Xtra for display within Adium.
  • XtraBundleVersion - Current version set to a string of "1"
  • Icons - A dictionary containing the image files to use. If you do not provide a particular status, it defaults to the image for Online. Highlight (inverted) images are automatically generated for provided images.
    • Online - Required
    • Away - Optional
    • Idle - Optional
    • Invisible - Optional
    • Content - Optional. Status for unread messages.
    • Offline - Required

Example Info.plist file

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
   "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>CFBundleName</key>
	<string>Example Xtra</string>
	<key>XtraBundleVersion</key>
	<string>1</string>
	<key>Icons</key>
	<dict>
		<key>Away</key>
		<string>away.png</string>
		<key>Idle</key>
		<string>idle.png</string>
		<key>Content</key>
		<string>content.png</string>
		<key>Invisible</key>
		<string>invisible.png</string>
		<key>Offline</key>
		<string>offline.png</string>
		<key>Online</key>
		<string>online.png</string>
	</dict>
</dict>
</plist>
Page last modified by Robby, 10 years ago