On Wed, Apr 16, 2008, Dustin Spicuzza wrote: > I'm working (unofficially) on fixing wxWidgets SVN to support hildon > 2.x, since it only supports 1.x at the moment (theres a patch to make it > funciton, but there are still some residual bugs). The biggest problem > as I see it is that it has #ifdef all over the place, substituting > hildon code for GTK code at compile time. It seems like to me that a > better way to do this is detect if its running inside a hildon-enabled > desktop, and then branch at runtime based on that, so it can support GTK > and Hildon in the same library, simplifying deployment/packaging/etc. > > However, there doesn't seem to be any documented way to do this. Thoughts?
For elisa, it was checked whether someone was listening on the hildon-desktop dbus interface; you could probably be doing something similar in C. -- Loïc Minier -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile