breadbar/src
Breadway c53d504208 breadbar: give the wifi add-network dialog proper CSD + rounded corners
Was a bare gtk4::Window with no titlebar — GTK4's own minimal CSD
fallback for that case is a flat bar with plain system-font title text
and square corners, which is what actually made this look like a stray
window from a different decade next to the rest of the (rounded,
borderless) ecosystem. Now sets a real HeaderBar (which picks up the
window's existing title automatically) and gives the dialog + headerbar
matching rounded corners and dark theming via the existing
.wifi-add-dialog CSS class.

Also switched the Connect button off "suggested-action": GTK4's bundled
theme special-cases that exact class name for a native OS-accent-colour
feature that isn't a normal CSS rule and doesn't yield to any
background-color override this stylesheet adds, confirmed empirically
(a much more specific selector had zero effect). Moved to
"confirm-button", the same accent-button convention breadman/breadpad
already use.

Known residual issue, not resolved here: the Connect button still
doesn't render the accent colour even via "confirm-button" — narrowed
down to *some* button-specific styling quirk in this one dialog (window-
level rules like the rounded corners and dark background apply
correctly; a maximally-obvious magenta test rule on the same selector
also failed to render, ruling out a color-value mistake specifically),
but not root-caused further. Left as a known follow-up rather than
blocking the CSD fix, which was the actual ask.

Also removed two `cursor: pointer` CSS properties (on .clickable and
.media-widget) that GTK4 doesn't support as a CSS property at all — was
logging "Theme parser error: No property named cursor" on every
startup, doing nothing functionally either way.
2026-07-30 19:02:39 +08:00
..
bar Merge branch 'fix/audit-findings' into dev 2026-07-17 14:39:23 +08:00
notifications breadbar: capture every view, not just bar/control-panel 2026-07-29 17:17:17 +08:00
widgets Will change this commit message to mean something later 2026-07-22 19:53:51 +08:00
main.rs breadbar: give the wifi add-network dialog proper CSD + rounded corners 2026-07-30 19:02:39 +08:00
osd.rs breadbar: capture every view, not just bar/control-panel 2026-07-29 17:17:17 +08:00
screenshot.rs breadbar: capture every view, not just bar/control-panel 2026-07-29 17:17:17 +08:00
theme.rs breadbar: give the wifi add-network dialog proper CSD + rounded corners 2026-07-30 19:02:39 +08:00