Hi Michael, On Wed, Nov 21, 2012 at 7:09 PM, Michael Meeks <[email protected]> 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 _______________________________________________ LibreOffice mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice
