From 322f63be18b68cf43dde53bb92c42eafef8376fe Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 22 Jul 2022 15:40:46 +0200 Subject: src/service.c: Add tooltip support. --- src/service.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/service.c b/src/service.c index 24840ac..2520286 100644 --- a/src/service.c +++ b/src/service.c @@ -455,6 +455,8 @@ create_header_state (IndicatorPowerService * self) g_variant_builder_add (&b, "{sv}", "title", g_variant_new_string (_("Battery"))); + g_variant_builder_add (&b, "{sv}", "tooltip", g_variant_new_string (_("Battery status and power management"))); + g_variant_builder_add (&b, "{sv}", "visible", g_variant_new_boolean (should_be_visible (self))); -- cgit v1.2.3