adium/adium

Modernize MVMenuButton a bit.

2012-09-12, Thijs Alkemade
512cb1d5bcd7
Modernize MVMenuButton a bit.
global HandyAdiumScripts
on run
tell application "Adium"
set n to (get name of window 1)
try
set name of window 1 to "dummy"
--I shouldn't get here
set name of window 1 to n --restore
error
on error number num
if num is -2700 then error
end try
end tell
end run