ColorIconView only passed the Color to its activation handler, so its
users took everything else (color name, position for the theme palette
lookup) from the selected item. For mouse and keyboard the activated
item is always the selected one, but the AT-SPI "activate" action of an
item activates it without selecting it first, so the color of the
selected item was applied instead of the activated one.
Pass the index of the activated item to the handler and let the users
take color, name and theme index from it.
Change-Id: I900278bf68e5038e5588ce71b03cd4b5ae9f8918
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211237
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
(cherry picked from commit 722410514b)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211351
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Common User Interface (cui)
It was moved out from svx in DEV300m68:
http://www.mail-archive.com/dev@openoffice.org/msg12925.html
It contains dialogs used by more than one application, e.g. paragraph properties.