diff options
author | Harish Krishnaswamy <kharish@novell.com> | 2006-01-02 14:19:54 +0800 |
---|---|---|
committer | Harish Krishnaswamy <kharish@src.gnome.org> | 2006-01-02 14:19:54 +0800 |
commit | 06a16e8c658f0194462b6e6297cc3a0cf0d68b15 (patch) | |
tree | 946d5219dbf89a11c25447979e3e1f8bffedded7 /smime | |
parent | 04330f7cb3aa764c993ea31377e60b7de44d679f (diff) | |
download | gsoc2013-evolution-06a16e8c658f0194462b6e6297cc3a0cf0d68b15.tar.gz gsoc2013-evolution-06a16e8c658f0194462b6e6297cc3a0cf0d68b15.tar.zst gsoc2013-evolution-06a16e8c658f0194462b6e6297cc3a0cf0d68b15.zip |
Do not set the sort column before the model is initialized. This is done
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).
svn path=/trunk/; revision=31015
Diffstat (limited to 'smime')
-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); |