google-code-export / gpick

Automatically exported from code.google.com/p/gpick
2 stars 0 forks source link

"Reverse" context menu item #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
IMO being able to reverse the order of the entries in the selection is core 
functionality.
I've attached my latest try at implementing it.

I'm aware it has problems:
* rather than fully reversing, only the second half of the selected entries are 
mirrored into the first half. I suspect color_list_selected does not really 
copy the colors, only references to them.
* names and any other dynv parameters are not transferred.

I have no more time to work on it presently, so I'm attaching it here.

Original issue reported on code.google.com by 00a...@gmail.com on 1 Dec 2012 at 3:37

Attachments:

GoogleCodeExporter commented 9 years ago
After a couple of changes I committed your patch as a part of revision 
4e0b1997a287.

Original comment by thezbyg on 1 Dec 2012 at 10:46

GoogleCodeExporter commented 9 years ago
Wow, awesome sorting setup :) it's rather similar in concept to the update I 
did for GIMP's Sort Palette plugin. 

I just made a minor commit addressing a conflicting mnemonic that the Reverse 
command inadvertantly created, BTW.

I've also just written some documentation for Group and Sort, and added it to 
the GPick wiki. Am I right in assuming that Grouping sensitivity is expressed 
as a percentage of the gamut of the 'group type' channel?

Original comment by 00a...@gmail.com on 2 Dec 2012 at 1:01

GoogleCodeExporter commented 9 years ago

Original comment by 00a...@gmail.com on 2 Dec 2012 at 1:02