Skip to content

Commit 50a9bf8

Browse files
committed
Update menu item text based on signing mode
Updated the `manageTimestampServersToolStripMenuItem` text to reflect the selected signing mode: - "Manage Endpoints..." for Trusted Signing mode. - "Manage Timestamp Servers..." for regular signing mode. This change improves user clarity by dynamically adjusting the menu item text to match the current signing context.
1 parent 9461a58 commit 50a9bf8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/SignToolGUI/Forms/MainForm.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2344,6 +2344,9 @@ private void RadioButtonSelectCertificateLocation_CheckedChanged(object sender,
23442344

23452345
// Set the tooltip for the timestamp checkbox
23462346
toolTip.SetToolTip(checkBoxTimestamp, "Trusted Signing requires a timestamp. This option is disabled for Trusted Signing.");
2347+
2348+
// Update menu item text for Trusted Signing mode
2349+
manageTimestampServersToolStripMenuItem.Text = "Manage Endpoints...";
23472350
}
23482351
else
23492352
{
@@ -2369,6 +2372,9 @@ private void RadioButtonSelectCertificateLocation_CheckedChanged(object sender,
23692372

23702373
// Reset the tooltip for the timestamp checkbox
23712374
toolTip.SetToolTip(checkBoxTimestamp, "Check this box to timestamp the signed file(s).");
2375+
2376+
// Update menu item text for regular timestamp servers mode
2377+
manageTimestampServersToolStripMenuItem.Text = "Manage Timestamp Servers...";
23722378
}
23732379

23742380
// Check if the rest checkboxes are enabled and set handling correctly for signing type

0 commit comments

Comments
 (0)