Overview
The TUI already color-codes connections by trust level (red for Unknown, green for Known, yellow for Local, bold red for Blocked). The GTK GUI displays the trust value in a text column but uses no colors — all rows look identical visually regardless of trust status.
What needs to be done
Goal
Trust status is visually distinct at a glance in the GTK GUI, matching the color coding the TUI already provides.
Notes
- This is purely visual — no data or logic changes needed
- The trust string value is already stored in the
Gtk.ListStore model and available to set_cell_data_func()
- Example pattern from GTK docs:
column.set_cell_data_func(renderer, self._color_cell, None)
Overview
The TUI already color-codes connections by trust level (red for Unknown, green for Known, yellow for Local, bold red for Blocked). The GTK GUI displays the trust value in a text column but uses no colors — all rows look identical visually regardless of trust status.
What needs to be done
CellRendererText, useTreeViewColumn.set_cell_data_func()to apply colors dynamically based on the trust value of each rowUnknown→ red foreground (#cc0000orred)Known→ green foreground (#2d8a2dordarkgreen)Local→ grey foreground (#888888)Blocked→ red foreground + bold weightGoal
Trust status is visually distinct at a glance in the GTK GUI, matching the color coding the TUI already provides.
Notes
Gtk.ListStoremodel and available toset_cell_data_func()column.set_cell_data_func(renderer, self._color_cell, None)