From 1b8c12e2f7f6bda8efa3c632f789521cdcf82fd0 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Thu, 6 Oct 2022 04:12:51 +0200 Subject: 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 --- src/notifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/notifier.c') 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 -- cgit v1.2.3