repo.or.cz
/
adiumx.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
1.2b8 appcast
[adiumx.git]
/
ASUnitTests
/
CantSetWindowClosable.applescript
blob
43331a79379c2c6cded8fa604e4b06b03d86ce89
1
global
HandyAdiumScripts
2
3
on
run
4
tell
application
"Adium"
5
set
c
to
(
get
closeable
of
window
1
)
6
try
7
set
closeable
of
window
1
to
(
not
c)
8
--should not get here
9
set
closeable
of
window
1
to
c
--restore
10
error
11
on error
number
num
12
if
num
is
-
2700
then error
13
end try
14
end tell
15
end
run