Bug 1295914, improve the label of the button of folder picker, r=baku,mstange,karlt,jimm
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user