A problem which i faced when using Pidgin IM in Linux is it needs to keep minimized in the task bar in order to receive incoming messages. But in GoogleTalk in windows it keeps the client online even if we closed the window.
Solution is in preferences. In pidgin Tools -> Preferences -> Interface -> Show System Tray Icon. Set its value to "Always". It will create a Pidgin Icon in the System Tray. Now u can simply close the pidgin window without being disconnected.