Panel plugin icon not recoloring on theme change

Issue Description

When changing a theme from light to dark (or vice versa), the plugin doesn't match the new theme's color, resulting in poor visibility.

Steps to Reproduce Issue

  1. Have notification plugin in the panel
  2. Use elementary or adwaita icon theme
  3. Change gtk theme so that the panel will change color (e.g. from Adwaita to Adwaita-dark). Make sure that panel dark mode is disabled.

Expected Behavior

Icon should recolor

Additional Information

slika

Versions

  • OS distribution and version: openSUSE Tumbleweed
  • Overall Xfce version: 4.21
  • xfce4-notifyd version (git hash if not a release): 4.21.1-dev-124ee1d3
  • Windowing system (X11/Wayland): any
  • Compositor and version (if Wayland): any