[Libreoffice] [GSOC] how to call python code from the menu
Caolán McNamara
caolanm at redhat.com
Wed Sep 7 09:24:00 PDT 2011
On Wed, 2011-09-07 at 11:24 +0100, Caolán McNamara wrote:
> On Tue, 2011-09-06 at 19:49 +0200, Xisco Faulí wrote:
> > Hello,
> >
> >
> > I've tried to follow your steps but placing the code in
> > wizards/com/sun/star/wizards/fax/CallWizard.py. So far I haven't been
> > able to build it successfully. It complains and says: ERROR: File not
> > found: CallWizard.py
>
> I see that wizards has been converted to gmake in the meantime, so it no
> longer uses dmake makefile.mk stuff, we need some gbuild support for
> copying .py files into their final locations with some form of
> pyuno .component file support support.
dtardon was good enough to put together the gmake stuff needed to get
this bootstrapped, which are now committed to master.
So here's your patch back again, except "gbuildified" so this should
work to make wizards->fax stick hello world into writer.
There's still a lot of nasty things, dumping the .py directly into
"program" as opposed to making some sort of subdir into which they can
go, but maybe it'll help
C.
More information about the LibreOffice
mailing list