adium/adium

Not only delete empty directories, but also the common symlinks to those (Headers and PrivateHeaders), as Sparkle currently breaks on them.
global HandyAdiumScripts
on run
tell application "Adium"
if (get index of window 1) is not 1 then
--this is also indicative of a much larger problem
--check the sdef for an error with window's 'pidx' property
error
end
end tell
end run