[ooo-build] Navigation buttons progress

Maja Djordjevic ovcica at gmail.com
Tue Jun 30 18:11:12 PDT 2009


Hello everyone,
Cedric suggested to add an entry to sfx2/source/appl/workwin.cxx file,
describing the navigationobjectbar. This is not the first time I encounter
that there should be some (probably five-digit) number somehow connected to
the toolbar I'm trying to make. I thought that the number would be generated
by combining SFX_INTERFACE_SW_START<http://svn.services.openoffice.org/opengrok/s?refs=SFX_INTERFACE_SW_START&project=/Current%20%28trunk%29>and
a small constant, but I realised it's just 250, and the numbers I see
for other toolbars are usually around 23000 for writer. I guess that the
numbers associated with the commands I make is generated by combining the
FN_EXTRA2 and SID_SW_START - and those *are* around 20k...maybe I'm getting
the concept of these IDs completely wrong?
Any help for creating the actual toolbar is highly appreciated :)

Thanks,
Maja



On Tue, Jun 30, 2009 at 10:51, Maja Djordjevic <ovcica at gmail.com> wrote:

> Hello Cedric,
>
> I tried that yesterday! I talked to Kohei on IRC and I did everything he
> could think of :)
> I still see no buttons at all. Do you see some text?
> There is still a problem that when the toolbar is deselected from the
> view->toolbars menu, it doesn't stay in that menu. There must be some part
> of the toolbar definition missing.
> I tried reinstalling.
> Maybe I should rebuild something? :(
>
> Thanks,
> Maja
>
>
>
> On Tue, Jun 30, 2009 at 10:25, Cedric Bosdonnat <cbosdonnat at novell.com>wrote:
>
>> Hi Maja,
>>
>> I have started to have a look at this problem yesterday but didn't
>> manage to make it work yet. It seems that the icons have to be placed in
>> src/icons folder and named after the uno command.
>>
>> --
>> Cedric
>>
>> Le lundi 29 juin 2009 à 23:32 +0100, Maja Djordjevic a écrit :
>> > Hello everyone,
>> > I'm a GSoC student, working on implementing the navigation buttons in
>> > writer and possibly more apps.
>> >
>> > As suggested by Fridrich, here's a patch of my complete work so far.
>> > The buttons don't appear correctly on my build, and there are some
>> > things that need to be added in order for the icons to appear.
>> >
>> > All suggestions are more than welcome.
>>
>> _______________________________________________
>> ooo-build mailing list
>> ooo-build at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/ooo-build
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/ooo-build/attachments/20090701/5272f9db/attachment.html 


More information about the ooo-build mailing list