Closed Bug 314374 Opened 19 years ago Closed 19 years ago

Delete... is enabled in certificates dialog when nothing is selected

Categories

(Camino Graveyard :: Security, defect)

PowerPC
macOS
defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED
Camino1.0

People

(Reporter: timeless, Assigned: sfraser_bugs)

Details

(Keywords: fixed1.8)

build id: 2005102908 (v1.0+)

steps:
1. cmd-, (or camino>preferences)
2. click the security widget
3. click show certificates
(nothing should be selected in the right pane)
4. click the strange widget w/ the drop arrow
5. click delete...

expected result:
delete isn't enabled if nothing is selected

actual results:
delete... is enabled and doesn't do anything when clicked
Assignee: dveditz → sfraser_bugs
Target Milestone: --- → Camino1.0
Patch:
Index: CertificatesWindowController.mm
===================================================================
RCS file: /cvsroot/mozilla/camino/src/security/CertificatesWindowController.mm,v
retrieving revision 1.3
diff -u -r1.3 CertificatesWindowController.mm
--- CertificatesWindowController.mm	8 Sep 2005 16:17:08 -0000	1.3
+++ CertificatesWindowController.mm	30 Oct 2005 18:44:57 -0000
@@ -757,7 +757,7 @@
 {
   SEL action = [inMenuItem action];
   if ((action == @selector(viewSelectedCertificates:)) ||
-      (action == @selector(deleteSelectedCertificate:)))
+      (action == @selector(deleteSelectedCertificates:)))
   {
     return ([[self selectedCertificates] count] > 0);
   }
Status: NEW → ASSIGNED
Fixed on trunk and branch.
Keywords: fixed1.8
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.