emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some suggestion WRT gtk related variables


From: Jan Djärv
Subject: Re: Some suggestion WRT gtk related variables
Date: Mon, 18 Sep 2006 15:24:04 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060913)



Reiner Steib skrev:
Hi,

`M-x apropos-variable RET gtk- RET' shows...

,----[ M-x apropos-variable RET gtk- RET ]
| x-gtk-show-chooser-help-text
|   Variable: *If non-nil, the GTK file chooser will by show additional help 
text.
| x-gtk-show-hidden-files
|   Variable: *If non-nil, the GTK file chooser will by default show hidden 
files.
| x-gtk-whole-detached-tool-bar
|   Variable: *If non-nil, a detached tool bar is shown in full.
| x-use-old-gtk-file-dialog
|   Variable: *Non-nil means prompt with the old GTK file selection dialog.
`----

Why do we use the term "chooser" in `x-gtk-show-chooser-help-text' and
the term "file dialog" in `x-use-old-gtk-file-dialog'.  I'd suggest to
use "file dialog" in both variables, i.e. rename
`x-gtk-show-chooser-help-text' to `x-gtk-file-dialog-help-text'.

Just because the old file dialog does not have the additional text. The name of the new dialog is file-chooser. But I can change.


I'd also suggest to rename `x-use-old-gtk-file-dialog' to
`x-gtk-use-old-file-dialog'.  Maybe it's doc string should say what is
"old" and "new" in GTK version numbers?

That is currently not possible. Both file dialogs exists side by side in at least Gtk+ version 2.4 to 2.10. I can rename the variable though.


Maybe it would make sense to allow `x-gtk-show-chooser-help-text' to
be nil, t or a (customizable) string instead of the hard coded text:

Wouldn't that be overkill? The purpose of the text is just to help those that dislike the new dialog, which seems to be quite a few.

        Jan D.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]