From 368369b3e4834428a741626bc25bb5115a249720 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Brait?= Date: Wed, 2 Nov 2016 18:58:37 -0200 Subject: [PATCH] Fixed a bug where only the Intel icon would be shown. --- usr/lib/prime-indicator/prime-indicator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/prime-indicator/prime-indicator b/usr/lib/prime-indicator/prime-indicator index db1f143..9f1401e 100755 --- a/usr/lib/prime-indicator/prime-indicator +++ b/usr/lib/prime-indicator/prime-indicator @@ -78,7 +78,7 @@ class Indicator: self.icon_name = theme.lookup_icon(self.active_gpu, max(theme.get_icon_sizes(self.active_gpu)), 0).get_filename() else: - self.icon_name = INTEL_COLOR + self.icon_name = INTEL_COLOR if self.active_gpu == INTEL else NVIDIA_COLOR print("ALERT: GTK Icon Theme does not provide an icon for " + ( "Intel" if self.active_gpu == INTEL else "NVIDIA") + ". Using default color icon instead!") elif self.theme_icons == "color":