https://bugs.documentfoundation.org/show_bug.cgi?id=119881
--- Comment #5 from Olivier Tilloy <[email protected]> ---
Hi Xisco,
Without researching this further, I think what needs to happen is splitting the
value of aCurrentDesktop on colons, and iterate until we find a known DE.
In pseudo-code:
array aCurrentDesktops = aCurrentDesktop.split(":")
for (de in aCurrentDesktops) {
if (de.equalsIgnoreAsciiCase("unity")) {
ret = DESKTOP_UNITY;
break;
} else if (de.equalsIgnoreAsciiCase("gnome")) {
ret = DESKTOP_GNOME;
break;
} else if …
}
I can give it a try next week if you don't beat me to it.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs