[evolution-patches] 68592, cert backup disabled





Index: smime/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/smime/ChangeLog,v
retrieving revision 1.47
diff -u -p -r1.47 ChangeLog
--- smime/ChangeLog	10 Feb 2005 05:34:01 -0000	1.47
+++ smime/ChangeLog	21 Feb 2005 04:17:45 -0000
@@ -1,3 +1,12 @@
+2005-02-21  Not Zed  <NotZed Ximian com>
+
+	** See bug #68592
+	
+	* gui/certificate-manager.c (yourcerts_selection_changed): dont
+	pass backup to handle_selection_changed.
+	(certificate_manager_config_control_new): disable the backup
+	buttons always.
+
 2005-02-09  Hans Petter Jansson  <hpj novell com>
 
 	* lib/Makefile.am:
Index: smime/gui/certificate-manager.c
===================================================================
RCS file: /cvs/gnome/evolution/smime/gui/certificate-manager.c,v
retrieving revision 1.15
diff -u -p -r1.15 certificate-manager.c
--- smime/gui/certificate-manager.c	20 Jan 2005 05:54:53 -0000	1.15
+++ smime/gui/certificate-manager.c	21 Feb 2005 04:17:45 -0000
@@ -225,11 +225,13 @@ view_your (GtkWidget *widget, Certificat
 static void
 backup_your (GtkWidget *widget, CertificateManagerData *cfm)
 {
+	/* FIXME: implement */
 }
 
 static void
 backup_all_your (GtkWidget *widget, CertificateManagerData *cfm)
 {
+	/* FIXME: implement */
 }
 
 static void
@@ -238,7 +240,7 @@ yourcerts_selection_changed (GtkTreeSele
 	handle_selection_changed (selection,
 				  4,
 				  cfm->view_your_button,
-				  cfm->backup_your_button, /* yes yes, not really "edit", it's a hack :) */
+				  NULL,
 				  cfm->delete_your_button);
 }
 
@@ -1005,6 +1007,10 @@ certificate_manager_config_control_new (
 	gtk_widget_ref (control_widget);
 
 	gtk_container_remove (GTK_CONTAINER (control_widget->parent), control_widget);
+
+	/* FIXME: remove when implemented */
+	gtk_widget_set_sensitive(cfm_data->backup_your_button, FALSE);
+	gtk_widget_set_sensitive(cfm_data->backup_all_your_button, FALSE);
 
 	return evolution_config_control_new (control_widget);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]