[Libreoffice] [PATCH] Automatically select an option page if a user clicks on a category

August Sodora augsod at gmail.com
Thu Dec 15 21:27:29 PST 2011

Hey all,

Stefan Knorr notified me of the following whiteboard item from the
design team [1], and I have created the following patch that should
implement the desired behavior. I haven't done any of the cleanup for
this because I'd like to dig a little deeper but there are definitely
src and hrc entries that can be removed, as well as simplying the
logic a little bit in the select handler in
cui/source/options/treeopt.cxx. Ideally I'd like to clean things up to
the point where I can remove the switch statement and glean the
default page to display from information in treeopt.[src|hrc].

[1] http://wiki.documentfoundation.org/Whiteboards/KillOptions#Filler_Pages

August Sodora
augsod at gmail.com
(201) 280-8138
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Automatically-select-an-option-page-if-a-user-clicks.patch
Type: text/x-patch
Size: 2702 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111216/460bce9e/attachment.bin>

More information about the LibreOffice mailing list