aboutsummaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2023-04-05 13:51:53 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-05-05 23:37:05 +0200
commit8f7c0cdbfd3ac5166a9628f917a0184fe5a44628 (patch)
tree62152c893faf4b24a6925fdebe2a9b40f2bfe1fd /src/service.c
parent906c021e2ebd927b512c9d52c03c17e70c01f065 (diff)
downloadayatana-indicator-power-8f7c0cdbfd3ac5166a9628f917a0184fe5a44628.tar.gz
ayatana-indicator-power-8f7c0cdbfd3ac5166a9628f917a0184fe5a44628.tar.bz2
ayatana-indicator-power-8f7c0cdbfd3ac5166a9628f917a0184fe5a44628.zip
Do not use charge-aware icons in the menu
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.c b/src/service.c
index bdf4caa..a7b3f10 100644
--- a/src/service.c
+++ b/src/service.c
@@ -466,7 +466,7 @@ create_header_state (IndicatorPowerService * self)
g_free (title);
}
- if ((icon = indicator_power_device_get_gicon (p->primary_device, TRUE)))
+ if ((icon = indicator_power_device_get_gicon (p->primary_device, TRUE, TRUE)))
{
GVariant * serialized_icon = g_icon_serialize (icon);
@@ -553,7 +553,7 @@ create_devices_section (IndicatorPowerService * self, int profile)
if (!ayatana_common_utils_is_lomiri())
{
- GIcon * icon = indicator_power_device_get_gicon (device, FALSE);
+ GIcon * icon = indicator_power_device_get_gicon (device, FALSE, FALSE);
if (icon)
{