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.
Context
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.