After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 508805 - AnjutaPreferences supports only directory choosers
AnjutaPreferences supports only directory choosers
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: libanjuta
SVN TRUNK
Other Linux
: Normal normal
: ---
Assigned To: Naba Kumar
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2008-01-11 17:53 UTC by Rob Bradford
Modified: 2008-01-16 14:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (4.08 KB, patch)
2008-01-16 12:26 UTC, Rob Bradford
committed Details | Review

Description Rob Bradford 2008-01-11 17:53:57 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.
Comment 1 Johannes Schmid 2008-01-11 18:26:19 UTC
Detecting the mode of the file-chooser could be nice. Otherwise we really need both, FILE and FOLDER in the future.
Comment 2 Rob Bradford 2008-01-16 12:16:04 UTC
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.

Comment 3 Rob Bradford 2008-01-16 12:26:41 UTC
Created attachment 102989 [details] [review]
Patch
Comment 4 Johannes Schmid 2008-01-16 14:25:31 UTC
Thanks much for the patch!