GNOME Bugzilla – Bug 508805
AnjutaPreferences supports only directory choosers
Last modified: 2008-01-16 14:25:31 UTC
ANJUTA_PROPERTY_OBJECT_TYPE_FILE is misnamed it should be renamed ANJUTA_PROPERTY_OBJECT_TYPE_FOLDER. Or perhaps, better, it should detect what mode the chooser button is in. I'll see if I can get a patch done for that tonight.
Detecting the mode of the file-chooser could be nice. Otherwise we really need both, FILE and FOLDER in the future.
After discussion Johannes Schmid it was decided to go down the route of having two separate types. Attached is patch that implements this. Note that I kept the original directory behaviour. This means that you need to go *inside* the directory to choose it, not just click it in the list and then click "Open" on the dialog.
Created attachment 102989 [details] [review] Patch
Thanks much for the patch!