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:
  Show dependency tree
 
Reported: 2008-01-11 17:53 UTC by Rob Bradford
Modified: 2008-01-16 14:25 UTC (History)
1 user (show)

See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (4.08 KB, patch)
2008-01-16 12:26 UTC, Rob Bradford
committed Details | Diff | 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!

Note You need to log in before you can comment on or make changes to this bug.