aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodney Dawes <dobey.pwns@gmail.com>2018-10-31 21:16:15 -0400
committerRobert Tari <robert@tari.in>2021-07-09 02:47:08 +0200
commitd2fc9c2d86789797c93811ad4665bdd67adf9661 (patch)
treeae3e9b611b2cdb3a0a1b2a1fa501ed9a5828df23
parenteff92a3b2f836ab59b35bfe11ea91938b224bf59 (diff)
downloadayatana-indicator-datetime-d2fc9c2d86789797c93811ad4665bdd67adf9661.tar.gz
ayatana-indicator-datetime-d2fc9c2d86789797c93811ad4665bdd67adf9661.tar.bz2
ayatana-indicator-datetime-d2fc9c2d86789797c93811ad4665bdd67adf9661.zip
Fix clock app URL.
-rw-r--r--src/actions-live.cpp2
-rw-r--r--tests/test-live-actions.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/actions-live.cpp b/src/actions-live.cpp
index 8fa894d..5c49bc4 100644
--- a/src/actions-live.cpp
+++ b/src/actions-live.cpp
@@ -50,7 +50,7 @@ void LiveActions::open_alarm_app()
{
if (ayatana_common_utils_is_lomiri())
{
- ayatana_common_utils_open_url("appid://lomiri-clock-app/lomiri-clock-app/current-user-version");
+ ayatana_common_utils_open_url("alarm://");
}
else
{
diff --git a/tests/test-live-actions.cpp b/tests/test-live-actions.cpp
index c9ea777..2d6ac9b 100644
--- a/tests/test-live-actions.cpp
+++ b/tests/test-live-actions.cpp
@@ -144,7 +144,7 @@ TEST_F(TestLiveActionsFixture, DesktopOpenSettingsApp)
namespace
{
- const std::string clock_app_url = "appid://lomiri-clock-app/lomiri-clock-app/current-user-version";
+ const std::string clock_app_url = "alarm://";
}
TEST_F(TestLiveActionsFixture, PhoneOpenAlarmApp)