Issues regarding the nedit file dialogue

Michael Smith smithm at netapps.com.au
Wed Nov 15 12:00:56 CET 2006


On Wed, 15 Nov 2006 11:21:01 +0100
"Com MN PG P E B Consultant 3" <mn-pg-p-e-b-consultant-3.com at siemens.com> wrote:

> I'm using nedit under Linux/KDE. There are a few issues about the
> File/Open
> dialogue which I would like to point out and ask for other opinions,
> because
> this dialogue seems to have a surprising amount of flaws.
> 
> First have a look at the screenshot 
> 
> http://img150.imageshack.us/img150/3333/neditfiledialoguefy8.jpg
> 
> showing the dialogue window which I get when selecting File/Open. The
> directory
> part is so narrow that nearly none of the directories can be read. First
> thing
> I have to do is to manually resize the dialogue to a reasonable size - I
> have
> to do this *every* time I'm opening a file.
> 
> I understand that initially, such a dialogue box must have some
> predifined size
> and the programmer can't anticipate which size will suit the user. But
> then, there
> should be a possibility to somehow make the size of the file dialogue be
> a user
> preference. Most convenient would be if nedit would simply remember the
> size
> from the previous invocation.

You can use X resources to set the default size of the file selection box:

nedit*XmFileSelectionBox.width: 500
nedit*XmFileSelectionBox.height: 400

This was copied from a recent post by Nathaniel Gray

> 
> Second, I am missing the ".." entry in the list of directories, which
> makes
> it cumbersome to navigate up one directory level.

You can change the type of file selection box by using the resource:

nedit.stdOpenDialog: False

This is documented in Help -> Customising -> X Resources
-- 
Michael Smith
Network Applications
www.netapps.com.au   | +61 (0) 416 062 898
Web Hosting          | Internet Services
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://www.nedit.org/pipermail/discuss/attachments/20061115/8e758c25/signature.bin


More information about the Discuss mailing list