From cb866774c6d402c72ca22a53667710e051901071 Mon Sep 17 00:00:00 2001 From: Martino Ferrari Date: Wed, 14 Oct 2026 12:56:36 +0200 Subject: [PATCH] chore: drop the math icon, which lost its last user with the toggles `udpscope-math-symbolic` was the toolbar's math-pane toggle, and that toggle is gone. Nothing else names it: the census after the change is **five** action icons (`udpscope-{trigger,cursors,measure,events,resize-rows}-symbolic.svg`) plus the two application icons, seven bundled. `udpscope-measure-symbolic` **stays**, and the plan's premise ("both lost their last user") is wrong for it: `src/ui/preferences.ui` carries it as the Plot preferences page's icon -- a live user, unrelated to the toggle that introduced it. Deleting it would have shipped a page whose icon silently fails to resolve (GTK substitutes a placeholder and says nothing), so it stays and the doc's census names it as the Preferences icon rather than as a toolbar one. The warning baseline is unchanged: **four**, because the icons' generated GResource blob is **8613 bytes** against C99's 4095-byte string-literal limit with the five action icons and the two app icons -- removing one file did not put it back under, and neither figure moved on a clean build. Measured by touching the two `*.gresource.xml` files and rebuilding, which regenerates both blobs without one. Verified: `make test-ui` 14 files; a run with the Preferences dialog opened resolves every icon (`toolbar icons:` all `(ok)`, zero `Gtk-CRITICAL`, no "not present"). --- .../scalable/actions/udpscope-math-symbolic.svg | 13 ------------- src/icons/udpscope.gresource.xml | 1 - 2 files changed, 14 deletions(-) delete mode 100644 src/icons/scalable/actions/udpscope-math-symbolic.svg diff --git a/src/icons/scalable/actions/udpscope-math-symbolic.svg b/src/icons/scalable/actions/udpscope-math-symbolic.svg deleted file mode 100644 index 877f7c0..0000000 --- a/src/icons/scalable/actions/udpscope-math-symbolic.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - diff --git a/src/icons/udpscope.gresource.xml b/src/icons/udpscope.gresource.xml index b0386aa..b8e6e77 100644 --- a/src/icons/udpscope.gresource.xml +++ b/src/icons/udpscope.gresource.xml @@ -20,7 +20,6 @@ scalable/actions/udpscope-trigger-symbolic.svg scalable/actions/udpscope-cursors-symbolic.svg scalable/actions/udpscope-measure-symbolic.svg - scalable/actions/udpscope-math-symbolic.svg scalable/actions/udpscope-events-symbolic.svg scalable/actions/udpscope-resize-rows-symbolic.svg scalable/apps/org.udpscope.app.svg