aboutsummaryrefslogtreecommitdiff
path: root/src/notifier.c
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2022-10-06 04:12:51 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-11-10 11:38:08 +0100
commit1b8c12e2f7f6bda8efa3c632f789521cdcf82fd0 (patch)
treea550ccc548f92f73b0bc6f8ffb8db1215dd9e4f3 /src/notifier.c
parent2b2ee5a8610f20e51509a709a114826219051b2e (diff)
downloadayatana-indicator-power-1b8c12e2f7f6bda8efa3c632f789521cdcf82fd0.tar.gz
ayatana-indicator-power-1b8c12e2f7f6bda8efa3c632f789521cdcf82fd0.tar.bz2
ayatana-indicator-power-1b8c12e2f7f6bda8efa3c632f789521cdcf82fd0.zip
Theming fix: Separate panel icons from the power menu icons
This fixes the broken theming issue where the Power Indicator menu shows the same icons as used by the panel, rather than the ones used elsewhere on the system. End result: makes any theme capable of becoming Ayatana-friendly without hacks
Diffstat (limited to 'src/notifier.c')
-rw-r--r--src/notifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notifier.c b/src/notifier.c
index e833e72..c513656 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -302,7 +302,7 @@ notification_show(IndicatorPowerNotifier * self)
: _("Battery Critical");
pct = indicator_power_device_get_percentage(p->battery);
body = g_strdup_printf(_("%.0f%% charge remaining"), pct);
- icon_names = indicator_power_device_get_icon_names(p->battery);
+ icon_names = indicator_power_device_get_icon_names(p->battery, FALSE);
if (icon_names && *icon_names)
icon_name = icon_names[0];
else