Allow disabling New Folder button in File Choser

Bug #570516. Add a new property "create-folders" meaning that the
"New Folder" button should be displayed in the modes where it used
to be.
This commit is contained in:
Pascal Terjan
2009-07-28 14:15:59 +02:00
parent d75ccb5c0d
commit a4514f993e
9 changed files with 90 additions and 4 deletions

View File

@ -117,6 +117,9 @@ _gtk_file_chooser_install_properties (GObjectClass *klass)
g_object_class_override_property (klass,
GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION,
"do-overwrite-confirmation");
g_object_class_override_property (klass,
GTK_FILE_CHOOSER_PROP_CREATE_FOLDERS,
"create-folders");
}
/**