On Fri, 2014-01-17 at 15:35 +0800, Daniel Dong wrote:
> Hello! I'm doing my first easyhack fdo#72989. I am puzzled how to find
> the codes executed when a menu item is clicked in Calc. Any hints?

So this one wasn't so easy actually. But FWIW when those dialogs are
opened calc goes into readonly mode so the problem is that the color
buttons aren't getting disabled in that mode. Turns out they weren't
reacting in their ::StateChanged methods to the disable signal (and were
using the wrong id anyway for the button to enable/disable)

http://cgit.freedesktop.org/libreoffice/core/commit/?id=3b0cf674925dd8fd0f34c5a810afc470ce5b4a0f

C.


_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to