diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-09-29 03:47:44 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-09-29 03:47:44 +0800 |
commit | a18e25967af78b1e09817fba2fe74515f4c0d329 (patch) | |
tree | 2f6602946cc2cadf0fca4b1d841acc21b4371a1b /filter/rule-editor.c | |
parent | 474e8444a3378a547188f1fe955c1bc75491cc1a (diff) | |
download | gsoc2013-evolution-a18e25967af78b1e09817fba2fe74515f4c0d329.tar gsoc2013-evolution-a18e25967af78b1e09817fba2fe74515f4c0d329.tar.gz gsoc2013-evolution-a18e25967af78b1e09817fba2fe74515f4c0d329.tar.bz2 gsoc2013-evolution-a18e25967af78b1e09817fba2fe74515f4c0d329.tar.lz gsoc2013-evolution-a18e25967af78b1e09817fba2fe74515f4c0d329.tar.xz gsoc2013-evolution-a18e25967af78b1e09817fba2fe74515f4c0d329.tar.zst gsoc2013-evolution-a18e25967af78b1e09817fba2fe74515f4c0d329.zip |
Set the item label to the new rule name, not the old rule name. Fixes bug
2001-09-28 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (edit_editor_clicked): Set the item label to the
new rule name, not the old rule name. Fixes bug #11168.
svn path=/trunk/; revision=13224
Diffstat (limited to 'filter/rule-editor.c')
-rw-r--r-- | filter/rule-editor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/rule-editor.c b/filter/rule-editor.c index e966ef89ad..68b77ab0ae 100644 --- a/filter/rule-editor.c +++ b/filter/rule-editor.c @@ -267,8 +267,8 @@ edit_editor_clicked (GtkWidget *dialog, int button, RuleEditor *re) pos = rule_context_get_rank_rule (re->context, re->current, re->source); if (pos != -1) { - item = g_list_nth_data (((GtkList *)re->list)->children, pos); - string = e_utf8_to_gtk_string (GTK_WIDGET (item), re->current->name); + item = g_list_nth_data (GTK_LIST (re->list)->children, pos); + string = e_utf8_to_gtk_string (GTK_WIDGET (item), re->edit->name); gtk_label_set_text (GTK_LABEL (GTK_BIN (item)->child), string); g_free (string); |