[Thunar-dev] Selecting files in single click mode

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Sat Feb 25 17:04:33 CET 2006


Benedikt Meurer wrote:
>>I was testing the new single click feature and was wondering if it could
>>be possible to implement a feature where files get selected by just
>>hovering the mouse pointer on them (e.g. ~500msecs). This is how single
>>click works atleast in Windows. Now user has to keep Ctrl or Shift
>>pressed when selecting even a single file.
> 
> 
> See the attached patch for ExoIconView, that should do the trick for the
> icon view. For the details view, GtkTreeView offers a hover-selection
> setting, but that doesn't work for multi-selection mode and it'll also
> select the row right away without any timeout. I could add an
> ExoTreeView class, which extends GtkTreeView with the required single
> click features.

Hm, this makes the icon view somewhat tricky to use in single click
mode. It's too easy to accidently select a file now.

Benedikt



More information about the Thunar-dev mailing list