Bug 1295914, improve the label of the button of folder picker, r=baku,mstange,karlt,jimm

This commit is contained in:
Olli Pettay
2016-08-24 02:07:21 +03:00
parent ebd3b63b09
commit d06eced574
12 changed files with 61 additions and 6 deletions

View File

@@ -343,6 +343,20 @@ nsBaseFilePicker::GetMode(int16_t* aMode)
return NS_OK;
}
NS_IMETHODIMP
nsBaseFilePicker::SetOkButtonLabel(const nsAString& aLabel)
{
mOkButtonLabel = aLabel;
return NS_OK;
}
NS_IMETHODIMP
nsBaseFilePicker::GetOkButtonLabel(nsAString& aLabel)
{
aLabel = mOkButtonLabel;
return NS_OK;
}
NS_IMETHODIMP
nsBaseFilePicker::GetDomFileOrDirectory(nsISupports** aValue)
{