pidgin/pidgin

use g_list_index instead of manually searching a list and a bunch of whitespace fixes
#define REVISION "@VCS_TAG@"