phocean / TopIcons-plus

An gnome-shell extension to put the icons back to the tray.
678 stars 98 forks source link

Clean up blacklist handling a bit #77

Closed fmuellner closed 7 years ago

fmuellner commented 7 years ago

I stumbled upon this code when looking into adjusting the extension for the legacy tray removal in GNOME. I suggest using destructuring when processing the blacklist, as it results in much more readable code in my opinion.

This will also take care of a warning with recent gjs versions about trying to access elements outside the bounds of the array.

phocean commented 7 years ago

Ok, thanks !