gSelectUserDialogCount--; if (os) { os->NotifyObservers(nsnull, "signonSelectUser", NS_LITERAL_STRING("resume").get()); }
si_SelectDialog(const PRUnichar* szMessage, nsIPrompt* dialog, PRUnichar** pList, PRInt32* pCount, PRUint32 formNumber) {  if (si_LastFormForWhichUserHasBeenSelected == (PRInt32)formNumber) {    /* a user was already selected for this form, use same one again */    *pCount = 0; /* last user selected is now at head of list */    return PR_TRUE;  }  nsresult rv;  PRInt32 selectedIndex;  PRBool rtnValue;  PRUnichar * title_string = Wallet_Localize("SelectUserTitleLine");  rv = dialog->Select( title_string, szMessage, *pCount, NS_CONST_CAST(const PRUnichar**, pList), &selectedIndex, &rtnValue );  Recycle(title_string);  if (selectedIndex >= *pCount) {    return PR_FALSE; // out-of-range selection  }  *pCount = selectedIndex;  if (rtnValue) {    si_LastFormForWhichUserHasBeenSelected = formNumber;  }  return rtnValue;  }