diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-02-21 22:22:21 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-02-27 16:29:28 +0100 |
commit | 5b53d364c64602c3dee72210b4ed9320e4d0efa3 (patch) | |
tree | 1e6c2bca3e004f418ea7f90882cb2f2524a97399 /src/backend-dbus | |
parent | 8e57201526a2e2a0a585ebadb498fb26b74edc12 (diff) | |
download | ayatana-indicator-session-5b53d364c64602c3dee72210b4ed9320e4d0efa3.tar.gz ayatana-indicator-session-5b53d364c64602c3dee72210b4ed9320e4d0efa3.tar.bz2 ayatana-indicator-session-5b53d364c64602c3dee72210b4ed9320e4d0efa3.zip |
src/{service.c,dbus-backends/actions.c}: Special treatment if running in an Ubuntu Touch session for desktop help, distro help and bug reporting URL.
Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Diffstat (limited to 'src/backend-dbus')
-rw-r--r-- | src/backend-dbus/actions.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend-dbus/actions.c b/src/backend-dbus/actions.c index 125b849..5a2523e 100644 --- a/src/backend-dbus/actions.c +++ b/src/backend-dbus/actions.c @@ -890,7 +890,9 @@ my_power_off (IndicatorSessionActions * actions) static void my_desktop_help (IndicatorSessionActions * self G_GNUC_UNUSED) { - if (ayatana_common_utils_have_budgie_program ("yelp")) + if (g_strcmp0(get_desktop_session(), "ubuntu-touch") == 0) + ayatana_common_utils_open_url("https://ubuntu-touch.io/"); + else if (ayatana_common_utils_have_budgie_program ("yelp")) ayatana_common_utils_execute_command ("yelp help:gnome-user-guide"); else if (ayatana_common_utils_is_lomiri()) ayatana_common_utils_open_url("https://lomiri.com"); |