Re: Filechooser: enter dirs with one click





On 09/11/2007, Paul Davis <paul linuxaudiosystems com> wrote:
On Fri, 2007-11-09 at 19:01 +0000, gatemaze gmail com wrote:

>
> Well you are true to some respect... What I was describing is
> apparently a nautilus property which takes effect on the desktop as
> well, but not any filechooser dialogues. From the top of my mind, I
> wonder if you could force the activate signal to be triggered when the
> select one is triggered; or destroy/rebuild the filechooser when a
> user single-clicks/selects a directory pointing to the new one instead
> this time as a workaround.

what happens if the user wants to do multi-select ("shift-click") ?

Yup, that's another issue that the initial starter of the thread has to think about :). I was only trying to offer my two cents on an issue he raised. In any case, I am not fond of single click activation.... I tried to use it for some time and it was more inconvenient as selection is done by ctrl+click, which required more effort. However, again from the top of my head the issue you are raising can be solved I think in the following ways:
1. Look at the source code of nautilus which the feature is well implemented.
2. Following to my above suggestion extend the behaviour to be executed as an activate only if the "thing" selected is a directory. However, this will result into a very confusing behaviour of the window.
3. Add the following into the code :)
if single-click (ie not any combination of keystroke+click)
   trigger activate signal
normal behaviour follows

--
-- Yianni

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