diff options
author | Robert Tari <robert@tari.in> | 2021-03-29 17:15:55 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-05-03 22:49:46 +0200 |
commit | 0ded1c9a16b93da1dada375fb2a0a3c3db010284 (patch) | |
tree | f9262e7a5f26eb5d3b48808724fb6cd55b0f6ca8 /src | |
parent | f188111464a0741f18ec1c6735539236f7860505 (diff) | |
download | ayatana-indicator-power-0ded1c9a16b93da1dada375fb2a0a3c3db010284.tar.gz ayatana-indicator-power-0ded1c9a16b93da1dada375fb2a0a3c3db010284.tar.bz2 ayatana-indicator-power-0ded1c9a16b93da1dada375fb2a0a3c3db010284.zip |
Always show indicator, use icon policy only on Lomiri
Diffstat (limited to 'src')
-rw-r--r-- | src/service.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c index f36c63f..db1fad5 100644 --- a/src/service.c +++ b/src/service.c @@ -401,6 +401,11 @@ count_batteries (GList * devices, int *total, int *inuse) static gboolean should_be_visible (IndicatorPowerService * self) { + if (!is_lomiri()) + { + return TRUE; + } + gboolean visible = TRUE; priv_t * p = self->priv; |