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

RESOLVED FIXED in Camino1.0

Status

--
trivial
RESOLVED FIXED
14 years ago
14 years ago

People

(Reporter: timeless, Assigned: sfraser_bugs)

Tracking

({fixed1.8})

Trunk
Camino1.0
PowerPC
macOS
fixed1.8

Details

(Reporter)

Description

14 years ago
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)

Updated

14 years ago
Assignee: dveditz → sfraser_bugs
Target Milestone: --- → Camino1.0
(Assignee)

Comment 1

14 years ago
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
(Assignee)

Comment 2

14 years ago
Fixed on trunk and branch.
Keywords: fixed1.8
(Assignee)

Updated

14 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.