diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-10-09 23:18:00 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-10-09 23:18:00 +0200 |
commit | b898993b72a570b78cebcc8e96c7467d593c5597 (patch) | |
tree | ca8127b1b7cb54a5c2ac6907478b63dc6e8b0a09 | |
parent | 645579b9ec37e695504c6bf6e61cfb770e7c37d5 (diff) | |
parent | 300724382245f439796ea61c831bdc552ba1a03c (diff) | |
download | ayatana-indicator-display-b898993b72a570b78cebcc8e96c7467d593c5597.tar.gz ayatana-indicator-display-b898993b72a570b78cebcc8e96c7467d593c5597.tar.bz2 ayatana-indicator-display-b898993b72a570b78cebcc8e96c7467d593c5597.zip |
Merge branch 'tari01-pr/fix-tooltip'
Attributes GH PR #62: https://github.com/AyatanaIndicators/ayatana-indicator-display/pull/62
-rw-r--r-- | src/exporter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/exporter.cpp b/src/exporter.cpp index 2db9a01..5609ca8 100644 --- a/src/exporter.cpp +++ b/src/exporter.cpp @@ -123,6 +123,9 @@ private: if (!h.label.empty()) g_variant_builder_add(&b, "{sv}", "label", g_variant_new_string(h.label.c_str())); + if (!h.tooltip.empty()) + g_variant_builder_add(&b, "{sv}", "tooltip", g_variant_new_string(h.tooltip.c_str())); + if (!h.title.empty() || !h.label.empty()) g_variant_builder_add(&b, "{sv}", "accessible-desc", g_variant_new_string(!h.label.empty() ? h.label.c_str() : h.title.c_str())); |