diff options
author | Robert Tari <robert@tari.in> | 2025-02-28 19:13:09 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2025-02-28 19:13:09 +0100 |
commit | c869bdb06bc74c446f518dec00b0eda3d621147e (patch) | |
tree | 66acec4d15a4e9e1e4ab0ea686f1d3e7b1f640b7 /src/utils.h | |
parent | 8608bd833d3452879ebe3aec74646a5fd17e76ee (diff) | |
parent | dc299daf148950f20153b7156dc6de5120bf5df7 (diff) | |
download | libayatana-common-c869bdb06bc74c446f518dec00b0eda3d621147e.tar.gz libayatana-common-c869bdb06bc74c446f518dec00b0eda3d621147e.tar.bz2 libayatana-common-c869bdb06bc74c446f518dec00b0eda3d621147e.zip |
Merge branch 'sunweaver-pr/support-differentiating-lomiri-and-ut'
Attributes GH PR #65: https://github.com/AyatanaIndicators/libayatana-common/pull/65
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h index 9d3e641..efb3ec7 100644 --- a/src/utils.h +++ b/src/utils.h @@ -23,13 +23,15 @@ #include <gio/gio.h> static const char * const DESKTOP_LOMIRI = "Lomiri"; +static const char * const DESKTOP_UBUNTUTOUCH = NULL; static const char * const DESKTOP_UNITY = "Unity"; static const char * const DESKTOP_MATE = "MATE"; static const char * const DESKTOP_GNOME = "GNOME"; static const char * const DESKTOP_XFCE = "XFCE"; static const char * const DESKTOP_PANTHEON = "PANTHEON"; static const char * const DESKTOP_BUDGIE = "Budgie"; -static const char * const SESSION_LOMIRI = "ubuntu-touch"; +static const char * const SESSION_LOMIRI = "lomiri"; +static const char * const SESSION_UBUNTUTOUCH = "ubuntu-touch"; static const char * const SESSION_UNITY = NULL; static const char * const SESSION_MATE = "mate"; static const char * const SESSION_GNOME = "gnome"; @@ -38,6 +40,7 @@ static const char * const SESSION_PANTHEON = NULL; static const char * const SESSION_BUDGIE = "budgie-desktop"; gboolean ayatana_common_utils_is_lomiri(); +gboolean ayatana_common_utils_is_ubuntutouch(); gboolean ayatana_common_utils_is_unity(); gboolean ayatana_common_utils_is_gnome(); gboolean ayatana_common_utils_is_mate(); |