aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2000-06-02 12:00:46 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-06-02 12:00:46 +0800
commit32bbb67932b55ee532829fd42944aef87994f864 (patch)
tree49c06b8c8801954ba4b64c9f65f43237b5e1b222 /mail
parent59165ac430e505d4a51bc639fb2fb194d22fed5b (diff)
downloadgsoc2013-evolution-32bbb67932b55ee532829fd42944aef87994f864.tar
gsoc2013-evolution-32bbb67932b55ee532829fd42944aef87994f864.tar.gz
gsoc2013-evolution-32bbb67932b55ee532829fd42944aef87994f864.tar.bz2
gsoc2013-evolution-32bbb67932b55ee532829fd42944aef87994f864.tar.lz
gsoc2013-evolution-32bbb67932b55ee532829fd42944aef87994f864.tar.xz
gsoc2013-evolution-32bbb67932b55ee532829fd42944aef87994f864.tar.zst
gsoc2013-evolution-32bbb67932b55ee532829fd42944aef87994f864.zip
was using the wrong clist row variable in the callbacks for the sources clist
svn path=/trunk/; revision=3371
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-config.c4
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 <fejj@helixcode.com>
+
+ * 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 <danw@helixcode.com>
* 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