From 32bbb67932b55ee532829fd42944aef87994f864 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 2 Jun 2000 04:00:46 +0000 Subject: was using the wrong clist row variable in the callbacks for the sources clist svn path=/trunk/; revision=3371 --- mail/ChangeLog | 7 +++++++ mail/mail-config.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 11b8c3059c..a3e026329d 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2000-06-02 Jeffrey Stedfast + + * mail-config.c (on_cmdSourcesAdd_clicked): Changed identity_row to source_row + as this is a Sources clist we are dealing with and not an identity clist + (on_cmdSourcesEdit_clicked): same + (on_cmdSourcesDelete_clicked): again, same + 2000-06-01 Dan Winship * message-list.c: Add a date column. diff --git a/mail/mail-config.c b/mail/mail-config.c index 16c4bef88b..68c17c7d6c 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -1597,7 +1597,7 @@ on_cmdSourcesEdit_clicked (GtkWidget *widget, gpointer user_data) GtkWidget *dialog; char *sourcep; - if (identity_row == -1) + if (source_row == -1) return; sourcep = gtk_clist_get_row_data (GTK_CLIST (user_data), source_row); @@ -1617,7 +1617,7 @@ on_cmdSourcesDelete_clicked (GtkWidget *widget, gpointer user_data) return; gtk_clist_remove (GTK_CLIST (user_data), source_row); - identity_row = -1; + source_row = -1; } static void -- cgit v1.2.3