Mercurial > pidgin
changeset 19061:3d6576b8c88a
- The tls_peers_mgmt import button should be enabled whether there are
any certificates already or not
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Mon, 30 Jul 2007 07:20:04 +0000 |
parents | c79b54f03f9d |
children | da88aa8f83ad |
files | pidgin/gtkcertmgr.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkcertmgr.c Mon Jul 30 06:50:31 2007 +0000 +++ b/pidgin/gtkcertmgr.c Mon Jul 30 07:20:04 2007 +0000 @@ -124,13 +124,11 @@ /* See if things are selected */ if (gtk_tree_selection_get_selected(select, &model, &iter)) { /* Enable buttons if something is selected */ - gtk_widget_set_sensitive(GTK_WIDGET(tpm_dat->importbutton), TRUE); gtk_widget_set_sensitive(GTK_WIDGET(tpm_dat->exportbutton), TRUE); gtk_widget_set_sensitive(GTK_WIDGET(tpm_dat->infobutton), TRUE); gtk_widget_set_sensitive(GTK_WIDGET(tpm_dat->deletebutton), TRUE); } else { /* Otherwise, disable them */ - gtk_widget_set_sensitive(GTK_WIDGET(tpm_dat->importbutton), FALSE); gtk_widget_set_sensitive(GTK_WIDGET(tpm_dat->exportbutton), FALSE); gtk_widget_set_sensitive(GTK_WIDGET(tpm_dat->infobutton), FALSE); gtk_widget_set_sensitive(GTK_WIDGET(tpm_dat->deletebutton), FALSE);