The "Unset" toggle button next to the color picker used a custom HashSwatch drawing area that mirrored the canvas's diagonal-hash pattern for unset cells. The pattern was visually noisy at button size and tied the button's appearance to the current zone base color (the swatch had to be told the base color via set_zone_base_color so it could redraw). Use the Tabler "palette-off" symbolic icon instead. It reads as "clear / no paint" at a glance, is independent of the zone base color, and matches the icon style of the tool buttons on the other end of the toolbar. Extract the icon loader (themed_icon_image, ensure_icon_path) from editor.py into a new private module _icons.py so palette.py can reuse it; the new palette tracks its own Gtk.Settings notify signals to re-render the icon on theme switches, and disconnects them via a new Palette.shutdown() called from the editor's shutdown. Adds MIT-licensed Tabler palette-off icon under share/solaar/icons/, see THIRD_PARTY.md. |
||
|---|---|---|
| .. | ||
| applications | ||
| autostart | ||
| solaar | ||
| README | ||
| solaar-master.svg | ||
README
Solaar application icon drawn by me, roughly guided by Logitech's Unifying logo. All other images are from the GNOME and Oxygen free icon themes.