[Thunar-dev] Selecting files in single click mode

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Sat Feb 25 16:41:11 CET 2006


Mikko Linnalo wrote:
> Hi,
> 
> 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.

> Btw, just made a bug for Thunar and I was able to verify the fix half on
> hour later, that's just awesome. I work in a software company as a test
> engineer (~5 years) and I have never seen such speed. Benny is the
> man :)

Well, it depends on the complexity of the bug. The icon view selection
bug was really trivial, I just forgot to check for Control/Shift.

> Br,
> Mikko Linnalo

HTH,
Benedikt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exo-icon-view-prelit-selection.patch
Type: text/x-patch
Size: 4790 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20060225/f7565894/attachment.bin>


More information about the Thunar-dev mailing list