Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On Tue, Apr 9, 2013 at 5:30 PM, Caolán McNamara <caolanm@redhat.com> wrote:

On Mon, 2013-04-08 at 17:52 +0200, Albert Thuswaldner wrote:

I almost completed the conversion of the Delete Contents dialog in
Calc (see patch #1)

What's missing from your patch is the .ui file itself, do a git
add /path/to/that/file.ui and git commit --amend


Oops, updated the patch accordingly.


What I didn't manage to do was to completely kill the resource id
RID_SCDLG_DELCONT

How to handle these things are not covered in your tutorial, at least
I could not find that...

Yeah, so the removal of .src and .hrc stuff is a happy-sideeffect of
moving to .ui files, but there are some cases where some .src contents
remain (until e.g. we move over to gettext) and some cases where .hrc
defines have been reused for non-resource files purposes (where the
long-term thing will be to just move them into .hxx files)

But in this particular case it so happens (common enough occurrence)
that the remaining .hrc define can be removed anyway. See attached.


Ok, great. Thanks for the explanation, if I come across similar things in
the future I guess I can use this as a reference. For this time assume that
you commit your patch with these fixes on top of mine?


I am also scratching my head over the hid key in the help file, not
sure I got that right ( see patch #2 )

Looks about right to me. What I would do in addition is to take one of
the two duplicated "hid/.uno:Delete" bookmarks and change one to be the
fallback toplevel dialog help e.g.
"hid/modules/scalc/ui/deletecontents/DeleteContentsDialog


 Ok, I updated patch #2


C.


Thanks for your help, much appreciated.
/Albert

Attachment: 0001-Convert-scalc-delete-contents-dialog-to-.ui.patch
Description: Binary data

Attachment: 0001-Modified-help-text-for-scalc-Delete-Contents-Dialog-.patch
Description: Binary data


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.