Kaydet (Commit) 5c76768f authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Markus Mohrhard

add gnome-wayland alongside gnome

Change-Id: I5d57f715edbadc7fef5c508cae7e98bcde0e4e5c
(cherry picked from commit edaacb62)
Reviewed-on: https://gerrit.libreoffice.org/17169Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst be9b36aa
...@@ -307,6 +307,8 @@ DESKTOP_DETECTOR_PUBLIC DesktopType get_desktop_environment() ...@@ -307,6 +307,8 @@ DESKTOP_DETECTOR_PUBLIC DesktopType get_desktop_environment()
return DESKTOP_KDE4; return DESKTOP_KDE4;
if ( aOver.equalsIgnoreAsciiCase( "gnome" ) ) if ( aOver.equalsIgnoreAsciiCase( "gnome" ) )
return DESKTOP_GNOME; return DESKTOP_GNOME;
if ( aOver.equalsIgnoreAsciiCase( "gnome-wayland" ) )
return DESKTOP_GNOME;
if ( aOver.equalsIgnoreAsciiCase( "unity" ) ) if ( aOver.equalsIgnoreAsciiCase( "unity" ) )
return DESKTOP_UNITY; return DESKTOP_UNITY;
if ( aOver.equalsIgnoreAsciiCase( "xfce" ) ) if ( aOver.equalsIgnoreAsciiCase( "xfce" ) )
...@@ -382,6 +384,8 @@ DESKTOP_DETECTOR_PUBLIC DesktopType get_desktop_environment() ...@@ -382,6 +384,8 @@ DESKTOP_DETECTOR_PUBLIC DesktopType get_desktop_environment()
ret = DESKTOP_UNITY; ret = DESKTOP_UNITY;
else if ( aDesktopSession.equalsIgnoreAsciiCase( "gnome" ) ) else if ( aDesktopSession.equalsIgnoreAsciiCase( "gnome" ) )
ret = DESKTOP_GNOME; ret = DESKTOP_GNOME;
else if ( aDesktopSession.equalsIgnoreAsciiCase( "gnome-wayland" ) )
ret = DESKTOP_GNOME;
else if ( aDesktopSession.equalsIgnoreAsciiCase( "mate" ) ) else if ( aDesktopSession.equalsIgnoreAsciiCase( "mate" ) )
ret = DESKTOP_MATE; ret = DESKTOP_MATE;
else if ( aDesktopSession.equalsIgnoreAsciiCase( "xfce" ) ) else if ( aDesktopSession.equalsIgnoreAsciiCase( "xfce" ) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment