mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00
fill in home page (bug 292698)
This commit is contained in:
parent
b82f76205c
commit
8f6f8cf984
@ -1486,6 +1486,10 @@ static void wallet_InitListFromAppleAddressBook(nsVoidArray** inList)
|
||||
ABMultiValue* emails = [me valueForProperty:kABEmailProperty];
|
||||
NSString* primaryEmail = [emails valueAtIndex:[emails indexForIdentifier:[emails primaryIdentifier]]];
|
||||
wallet_WriteToList("home.email", [primaryEmail UTF8String], dummy, *inList, PR_FALSE);
|
||||
|
||||
// web
|
||||
NSString* webPage = [me valueForProperty:kABHomePageProperty];
|
||||
wallet_WriteToList("home.uri", [webPage UTF8String], dummy, *inList, PR_FALSE);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user