Match TS3's menu layout: Self's away submenu and mic items, bookmarks first, more shortcuts

Self now opens with a Set Away submenu mirroring the toolbar button, then
Activate Microphone and Mute/Unmute items that follow the current state.
The bookmark actions come before the bookmarks. Shortcuts: Ctrl+Q quits,
Ctrl+B manages bookmarks, Ctrl+I opens Identities, Ctrl+Shift+O Contacts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-04 00:04:37 +00:00
co-authored by Claude Opus 5.5
parent 2351b174f8
commit 7c2d4c7c42
3 changed files with 86 additions and 20 deletions
@@ -151,12 +151,12 @@ final class MainToolbar extends JToolBar {
awayButton.setSelected(away);
}
/** Simulates a click, for the "Toggle microphone" menu item. */
/** Simulates a click, for the "Mute Microphone" menu item. */
void clickMic() {
micButton.doClick();
}
/** Simulates a click, for the "Toggle speakers" menu item. */
/** Simulates a click, for the "Mute Speakers/Headphones" menu item. */
void clickSpeaker() {
speakerButton.doClick();
}