From 90cd1b58cfa5881de4d72de575335c6f7512082a Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 11 Aug 2020 16:58:55 +0200 Subject: Partially revert fab51b4. Only rename those x-canonical attributes to x-ayatana if they are solely used by Ayatana Indicators. --- src/engine-eds.cpp | 4 ++-- src/notifications.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/engine-eds.cpp b/src/engine-eds.cpp index 3120b3f..f8a4ce8 100644 --- a/src/engine-eds.cpp +++ b/src/engine-eds.cpp @@ -35,8 +35,8 @@ namespace ayatana { namespace indicator { namespace datetime { -static constexpr char const * TAG_ALARM {"x-ayatana-alarm"}; -static constexpr char const * TAG_DISABLED {"x-ayatana-disabled"}; +static constexpr char const * TAG_ALARM {"x-canonical-alarm"}; +static constexpr char const * TAG_DISABLED {"x-canonical-disabled"}; static constexpr char const * X_PROP_ACTIVATION_URL {"X-CANONICAL-ACTIVATION-URL"}; diff --git a/src/notifications.cpp b/src/notifications.cpp index f8782de..051653d 100644 --- a/src/notifications.cpp +++ b/src/notifications.cpp @@ -314,7 +314,7 @@ private: // as the name indicates, don't use this directly: use server_caps() instead mutable std::set m_lazy_caps; - static constexpr char const * HINT_TIMEOUT {"x-ayatana-snap-decisions-timeout"}; + static constexpr char const * HINT_TIMEOUT {"x-canonical-snap-decisions-timeout"}; }; /*** -- cgit v1.2.3