[Libreoffice] quick starter applet/systray defaults and various confusion

Caolán McNamara caolanm at redhat.com
Thu Nov 25 05:14:10 PST 2010


On Wed, 2010-11-24 at 20:50 +0000, Caolán McNamara wrote:
> On Wed, 2010-11-24 at 12:04 +0100, David Tardon wrote:
> > Does anyone have any clever idea how to prevent that?
> 
> How about we over-engineer and..
> 
> a) use osl_getModuleURLFromFunctionAddress or something of that nature
> to get the filename of the physical .so that we were originally dlopened
> on
> b) Get a GFileMonitor from gio via g_file_monitor for that .so and
> attach to its "changed" signal to get notified when that .so has been
> deleted, and turn off the quickstarter (or get it to disable its menus
> and sommat like "LibreOffice upgraded restart needed!" :-0) when that
> happens.

This seems to work, e.g. the attached.

C.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exit.quickstarter.when.deleted.patch
Type: text/x-patch
Size: 3659 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101125/f69e668a/attachment.bin>


More information about the LibreOffice mailing list