diff options
-rw-r--r-- | smime/ChangeLog | 9 | ||||
-rw-r--r-- | smime/gui/certificate-manager.c | 4 |
2 files changed, 8 insertions, 5 deletions
diff --git a/smime/ChangeLog b/smime/ChangeLog index ba1edad6d3..eed1f901a4 100644 --- a/smime/ChangeLog +++ b/smime/ChangeLog @@ -1,9 +1,16 @@ +2006-01-02 Harish Krishnaswamy <kharish@novell.com> + + * gui/certificate-manager.c: (initialize_yourcerts_ui): + Do not set the sort column before the model is initialized. + This is done later by the function unload_certs. + Fixes #325472 (critical warning crasher). + 2005-12-18 Tor Lillqvist <tml@novell.com> * gui/Makefile.am: Link with libeutil. * gui/ca-trust-dialog.c (ca_trust_dialog_show) - * gui/cert-trust-dialog.c (cert_trust_dialog_show) + * gui/cert-trust-dialog.c (cert_trust_dialog_show) * gui/certificate-manager.c (certificate_manager_config_control_new) * gui/certificate-viewer.c (certificate_viewer_show) * gui/e-cert-selector.c (e_cert_selector_new): diff --git a/smime/gui/certificate-manager.c b/smime/gui/certificate-manager.c index 3191a793e0..6ae1b7f4e2 100644 --- a/smime/gui/certificate-manager.c +++ b/smime/gui/certificate-manager.c @@ -298,10 +298,6 @@ initialize_yourcerts_ui (CertificateManagerData *cfm) column); gtk_tree_view_column_set_sort_column_id (column, 3); - gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (cfm->yourcerts_streemodel), - 0, - GTK_SORT_ASCENDING); - selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (cfm->yourcerts_treeview)); g_signal_connect (selection, "changed", G_CALLBACK (yourcerts_selection_changed), cfm); |