aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-08-11 16:58:55 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-08-11 16:58:55 +0200
commit90cd1b58cfa5881de4d72de575335c6f7512082a (patch)
treefa59f34b5c71e5066036856615b9e53a293b4578 /src
parent6bdea82a3226f45291522c87d7866f949a83f4c2 (diff)
downloadayatana-indicator-datetime-90cd1b58cfa5881de4d72de575335c6f7512082a.tar.gz
ayatana-indicator-datetime-90cd1b58cfa5881de4d72de575335c6f7512082a.tar.bz2
ayatana-indicator-datetime-90cd1b58cfa5881de4d72de575335c6f7512082a.zip
Partially revert fab51b4. Only rename those x-canonical attributes to x-ayatana if they are solely used by Ayatana Indicators.
Diffstat (limited to 'src')
-rw-r--r--src/engine-eds.cpp4
-rw-r--r--src/notifications.cpp2
2 files changed, 3 insertions, 3 deletions
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<std::string> 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"};
};
/***