vcl/unx/source/plugadapt/salplug.cxx has a function called
is_gnome_desktop which looks for several very GNOME-specific things
(GNOME_DESKTOP_SESSION_ID, gnome-panel, etc.). The autodetect_plugin
function then uses the GTK plugin based on whether is_gnome_desktop
succeeded.

This is clearly suboptimal. However, you can't detect GTK as such, since
it's just a widget set; all you can do (in this paradigm) is to look for
individual running desktops. Perhaps the best answer is to check for
some extra desktop environments that we know to be GTK-based?

** Changed in: openoffice.org (Ubuntu)
   Importance: Undecided => Low
       Status: New => Confirmed

-- 
[upstream] [hardy] GTK detection operates by looking for GNOME, which causes 
problems for GTK-based non-GNOME desktops
https://bugs.launchpad.net/bugs/122231
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to