Modification of the PaletteCell class to assign shortcuts to palette elements
I am currently working on adding the ability to assign a shortcut to any palette element as part of GSoC 2017. I'm facing some problems because the palette cell names are not unique. To assign a shortcut to a palette element, I need to be able to uniquely identify the palette element. The default palette cell names can be made unique by changing some of the names. I'm not sure if the cell names in user palettes should be made unique. Another option would be to add another member to the PaletteCell class, which can be made unique, leaving the cell names as is.
I would also like to add a member of type Shortcut to the PaletteCell class. Currently, I'm maintaining a list of palette shortcuts in preferences, but if there was a shortcut member in the PaletteCell class, updating of shortcuts and the ability to assign shortcuts to user palettes would become much easier to implement.
Please let me know if these modifications are feasible.