aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRodney Dawes <rodney.dawes@canonical.com>2017-02-01 16:55:16 -0500
committerRobert Tari <robert@tari.in>2021-07-09 00:33:30 +0200
commit75343eccb826c999fcd6f2dd2010bf04d986f836 (patch)
tree5c587e5fdaba9d74ffbc6651111f4f01221afc08 /src
parentc1666c0ad2a0ad0ca846b1c6b77c2a81c2ce45ac (diff)
downloadayatana-indicator-datetime-75343eccb826c999fcd6f2dd2010bf04d986f836.tar.gz
ayatana-indicator-datetime-75343eccb826c999fcd6f2dd2010bf04d986f836.tar.bz2
ayatana-indicator-datetime-75343eccb826c999fcd6f2dd2010bf04d986f836.zip
Update app name usage to match snaps.
Diffstat (limited to 'src')
-rw-r--r--src/actions-live.cpp2
-rw-r--r--src/notifications.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/actions-live.cpp b/src/actions-live.cpp
index 11643cd..8fa894d 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://com.lomiri.clock/clock/current-user-version");
+ ayatana_common_utils_open_url("appid://lomiri-clock-app/lomiri-clock-app/current-user-version");
}
else
{
diff --git a/src/notifications.cpp b/src/notifications.cpp
index a0ceb6f..49300d8 100644
--- a/src/notifications.cpp
+++ b/src/notifications.cpp
@@ -465,7 +465,7 @@ private:
{
#ifdef HAS_LOMIRIAPPLAUNCH
auto registry = std::make_shared<lomiri::app_launch::Registry>();
- auto app_id = lomiri::app_launch::AppID::discover(registry, "com.lomiri.calendar");
+ auto app_id = lomiri::app_launch::AppID::discover(registry, "lomiri-calendar-app");
if (!app_id.empty())
// Due the use of old API by messaging_menu we need append a extra ".desktop" to the app_id.