[hatari-devel] New FileSelector

Eero Tamminen eerot at users.berlios.de
Thu Sep 16 22:36:08 CEST 2010


Hi,

On Wednesday 15 September 2010, Laurent Sallafranque wrote:
> > Maybe you could put folder's name on the same line to gain one extra
>> line ?
>
> Yes, that's possible. But this would reduce name of the path by 7 chars
> (the way I did it reduced only by 2 chars (only 1 if I removed the right
> upper icon which was not useful))
>
> Path name may become long, but in general, filenames are shorter and can
> fit on the same line.
>
> But as we have a path name "troncator", I can do it if everybody's OK.

I think e.g. Gtk truncates file names & paths from the middle as
the significant parts are usually in the beginning and end (e.g. type).


Btw. What I was proposing earlier was moving the buttons to the left side
of the dialog.  When one is using scrollbar to navigate, the buttons are now
closer to that. If buttons would be on the left, then they would be closer
to mouse pointer when selecting files.


One more possibility could be to remove "Choose a file" text and put
the "Folder:" and the   | .. | ~ | / | buttons on the same line.

The "Choose a file" text is anyway misleading because the same dialog
is used also to select default floppy image directory and the GEMDOS
emulation directory.

If that text is left to the dialog, at least it should be changed according
to some flag that tells whether a file or folder is being selected.  When
selecting a folder, the dialog shouldn't show or update the file field.


	- Eero



More information about the hatari-devel mailing list