summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2014-12-02 10:05:35 +0300
committerDmitry Shachnev <mitya57@gmail.com>2014-12-21 14:20:01 +0100
commitbf86735f073aaf61278230708b92c5193c5f9e15 (patch)
treefadf72481edd6b6f8f9a006117f91b1c98cc7dc3 /src/plugins/platforms/xcb
parentcac5d3744c5fc115844a40c59fa26cc84a36300e (diff)
Support multiple desktop names in XDG_CURRENT_DESKTOP
According to the Desktop Entry Specification, “If $XDG_CURRENT_DESKTOP is set then it contains a colon-separated list of strings”. For example, on GNOME Flashback session that variable is set to “GNOME-Flashback:GNOME”. The value returned by QGenericUnixServices::desktopEnvironment() is in most cases the uppercase variant of $XDG_CURRENT_DESKTOP variable. In qgenericunixthemes.cpp, we need to support multiple names in the return result of that function. If at least one part is in the list of Gtk+-based desktop environments, then we should use gtk2 platform theme. Change-Id: I0c9de68756d41b031e822be8cf100ca5c0b202ae Reviewed-by: David Faure <david.faure@kdab.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/xcb')
0 files changed, 0 insertions, 0 deletions