GTK theming: oxygen-gtk support broken

Ruslan Kabatsayev b7.10110111 at
Wed Nov 21 07:46:54 PST 2012

Hi Michael,

On Wed, Nov 21, 2012 at 7:09 PM, Michael Meeks <michael.meeks at> 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:
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.


More information about the LibreOffice mailing list