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


Hi Michael,

On Wed, Nov 21, 2012 at 7:09 PM, Michael Meeks <michael.meeks@suse.com> wrote:

To get this all work more or less as expected (i.e. to fix oxygen-gtk
at correct time), I'd need to know, which LibO releases will contain
these commits. Any pointers to this?

        Is it an easy thing to check from a gtk theme ?

This doesn't seem to be a very easy thing. Oxygen-gtk gets application
name via g_get_prgname() and also from PID reading /proc/$PID/cmdline.
Not very extensible for versions.

        It'd be reasonably easy to set some g_object_data on our top-level
windows or somesuch - if that helps you ? I guess we have no
GApplication usage as of now (in case that helps).

Yeah, g_object_set_data with LibO version on widget passed to theme
would be just fine.
Something like this:
g_object_set_data(G_OBJECT(widget),"LibreOfficeVersion",(gpointer)0xMAJVMINV).
At least this will work for gtk2, not for gtk3 since no widgets are
passed there. Though I don't think we really want to explicitely
support LibO in oxygen-gtk3.

Regards,
Ruslan

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.