diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-07-22 15:40:46 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-09-01 22:26:17 +0200 |
commit | 322f63be18b68cf43dde53bb92c42eafef8376fe (patch) | |
tree | 4b7ed29ce874fafc3f84a4b146b891028680cecc /src | |
parent | dabd41daf08b9f287834586acb2b04cd126e65ba (diff) | |
download | ayatana-indicator-power-322f63be18b68cf43dde53bb92c42eafef8376fe.tar.gz ayatana-indicator-power-322f63be18b68cf43dde53bb92c42eafef8376fe.tar.bz2 ayatana-indicator-power-322f63be18b68cf43dde53bb92c42eafef8376fe.zip |
src/service.c: Add tooltip support.
Diffstat (limited to 'src')
-rw-r--r-- | src/service.c | 2 |
1 files changed, 2 insertions, 0 deletions
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))); |