From 06a16e8c658f0194462b6e6297cc3a0cf0d68b15 Mon Sep 17 00:00:00 2001 From: Harish Krishnaswamy Date: Mon, 2 Jan 2006 06:19:54 +0000 Subject: Do not set the sort column before the model is initialized. This is done 2006-01-02 Harish Krishnaswamy * 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). svn path=/trunk/; revision=31015 --- smime/ChangeLog | 9 ++++++++- 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 + + * 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 * 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); -- cgit v1.2.3