aboutsummaryrefslogtreecommitdiff
path: root/src/exporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/exporter.cpp')
-rw-r--r--src/exporter.cpp3
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()));