From efe8bc5c4503fc5630c05baeb5bc2265dafc2be5 Mon Sep 17 00:00:00 2001 From: jderose9 Date: Tue, 21 Feb 2017 00:26:42 -0500 Subject: [PATCH] Provide default indicator color for themes without --- taskbar.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/taskbar.js b/taskbar.js index 318c49f..94f8873 100644 --- a/taskbar.js +++ b/taskbar.js @@ -1680,6 +1680,8 @@ const taskbarAppIcon = new Lang.Class({ // of the default dot let themeNode = this._dot.get_theme_node(); bodyColor = themeNode.get_background_color(); + if(bodyColor.alpha == 0) // theme didn't provide one, use a default + bodyColor = new Clutter.Color({ red: 82, green: 148, blue: 226, alpha: 255 }); } let [width, height] = area.get_surface_size();