diff options
author | Robert Tari <robert@tari.in> | 2022-09-02 00:36:40 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2022-09-02 00:36:40 +0200 |
commit | 16cae61bfbd85da42bec9fa46e3579064680f8fe (patch) | |
tree | 0f079bc87c7d04479399f30861da2018d062476b /src/service.c | |
parent | dabd41daf08b9f287834586acb2b04cd126e65ba (diff) | |
parent | de773702ca0cd0a37eed54fefd6128a63a22bfe9 (diff) | |
download | ayatana-indicator-power-16cae61bfbd85da42bec9fa46e3579064680f8fe.tar.gz ayatana-indicator-power-16cae61bfbd85da42bec9fa46e3579064680f8fe.tar.bz2 ayatana-indicator-power-16cae61bfbd85da42bec9fa46e3579064680f8fe.zip |
Merge branch 'sunweaver-pr/tooltip-support'
Attributes GH PR #63: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/63
Diffstat (limited to 'src/service.c')
-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))); |