[Thunar-dev] Invert selection action in Thunar

Fernando Maróstica fmarostica at fmarostica.org
Thu Nov 1 09:04:40 CET 2007


Em Qua, 2007-10-31 às 09:18 +0100, Benedikt Meurer escreveu: 
> Fernando Maróstica wrote:
> > Hello thunar hackers!
> 
> Hello Fernando,
> 
> > I'm a new Thunar user.
> > First of all I must say that Thunar is a great file manager !!
> > 
> > The invert-selection is a feature request in thunar to have an option to
> > invert the current selection. That is, if we have 25 items in a folder,
> > and we select any 10 random items, on clicking Invert Selection, the
> > other 15 items will be selected, and the original 10 items will be
> > de-selected.
> > 
> > Please, take a look at:
> > http://foo-projects.org/pipermail/thunar-dev/2005-March/000493.html
> > 
> > Use Case:
> > 
> > When I'm backing up data from a certain directory, I select some files
> > that would fit on a CD. After burning these files, I'd like to be able
> > to select the remaining ones easily, so I can put them on another disc.
> > Right now I have to unselect the files, and then manually choose the
> > ones I haven't burned carefully. Or, insert the burnt disc and compare
> > visually myself to only choose the files which haven't been burnt. This
> > is tedious and not very confortable when you're doing the same operation
> > repeatedly or when the number of files is large.
> > 
> > This email contain my first patch to contribute with Thunar File Manager
> > Revolution :-)
> > 
> > I hope that is useful.
> 
> Your patch leaks the memory returned from g_strdup_printf() when
> constructing the tree path. BTW: You don't need to create a string for
> the path first (see GtkTreePath documentation).

Yes, I saw it in the GTkTreePath documentation last evening.

> Other than that, the patch looks good. Dunno how useful the "Invert
> Selection" feature is; atleast I've never seen a feature request for
> this besides the one from botsie. Maybe others can comment on this?

Thanks a lot for all comments about "Invert Selection" feature. I agree
with Jelle de Jong, who said that this feature is very useful for users
that switched form MS to Linux.

I guess that my first patch to "Invert Selection" feature must be
accepted. I'll be very glad if it is accepted.
:-)

> > Cheers.
> > Fernando Maróstica.
> 
> Benedikt

Best Regards.
Fernando Maróstica.




More information about the Thunar-dev mailing list