William Bowling is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

wbowling / adium (fork of adium / adium)

Fork of Adium for patches/improvements

Clone this repository (size: 338.7 MB): HTTPS / SSH
hg clone https://bitbucket.org/wbowling/adium
hg clone ssh://hg@bitbucket.org/wbowling/adium

adium / ASUnitTests / CantSetWindowClosable.applescript

global HandyAdiumScripts

on run
        tell application "Adium"
                set c to (get closeable of window 1)
                try
                        set closeable of window 1 to (not c)
                        --should not get here
                        set closeable of window 1 to c --restore
                        error
                on error number num
                        if num is -2700 then error
                end try
        end tell
end run