Add "Change Description" to the client menu

Offered for our own client as well as others, with TS3's edit icon. The
description is read back from the server before prompting, since the
model only carries one for clients whose info has been looked at.

Note that client_description is not a clientupdate property even for
ourselves — the server only takes it through clientedit — and that our
own change is not echoed back to us, so the local entry is updated here.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-19 18:04:35 +00:00
parent bcc034e975
commit cb05b097a6
5 changed files with 76 additions and 0 deletions

View File

@@ -99,6 +99,9 @@ public final class ServerTreePanel extends JScrollPane {
/** Opens the full server-groups list dialog for a client. */
void showServerGroupsDialog(ClientEntry client);
/** Edits a client's description — our own included. */
void changeClientDescription(ClientEntry client);
}
private final DropIndicatorTree tree;