Implementing folder picker by hiding the file column of the file selection dialog. Thanks to Syd for the hint to do this.

git-svn-id: svn://10.0.0.236/trunk@29389 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mcafee%netscape.com 1999-04-27 04:49:53 +00:00
parent ee32d8fd93
commit 6820bc9541

View File

@ -184,6 +184,11 @@ NS_METHOD nsFileWidget::Create(nsIWidget *aParent,
mWidget = gtk_file_selection_new(title);
// Hide the file column for the folder case.
if(aMode == eMode_getfolder) {
gtk_widget_hide( (((GtkFileSelection *) mWidget)->file_list)->parent );
}
delete[] title;
return NS_OK;