<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On May 30, 2007, at 7:11 PM, Paul Wouters wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Actually, the OS should signal the application just before going to</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">hibernation. I am not sure if Linux does this properly, but I think</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Adium on OSX properly handles this</FONT></P> </BLOCKQUOTE></DIV><BR><DIV>The Adium bit is partially true.   Adium receives a "will sleep" notification, responds with "wait until I say so", disconnects all accounts, then says "okay, proceed with sleep".  </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>When Adium was using gaim-otr, from Adium 0.80 through Adium 1.0, this led to proper behavior, as the signed-on and signed-off signals are used by gaim-otr as described.  I nearly replied, "Yes, Adium does this properly," but a nagging feeling made me check the Adium 1.0+ code... and when I ported gaim-otr to being an Objective-C Adium component for 1.0, that bit didn't get carried over.  I've put it on my to-do list for Adium... I'm glad that came up in discussion :)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>-Evan</DIV><DIV><BR class="khtml-block-placeholder"></DIV></BODY></HTML>