diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-12-21 05:58:16 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-12-21 05:58:16 +0800 |
commit | 53e5cb89a5a1ff22fa4dc82e2a2aca3cb383616a (patch) | |
tree | da4bad5a6144218a213e94b913d14286e62b1af5 /filter/filter-rule.c | |
parent | 64e2a500f8e989da0b56ac7f7b6e2f4b844b9ec2 (diff) | |
download | gsoc2013-evolution-53e5cb89a5a1ff22fa4dc82e2a2aca3cb383616a.tar.gz gsoc2013-evolution-53e5cb89a5a1ff22fa4dc82e2a2aca3cb383616a.tar.zst gsoc2013-evolution-53e5cb89a5a1ff22fa4dc82e2a2aca3cb383616a.zip |
God-damned friggin' WinCvs shit is so damn annoying. Why can't I just paste my ChangeLog entry? Ugh...
Anyways, this checkin fixes bug #1007
svn path=/trunk/; revision=7107
Diffstat (limited to 'filter/filter-rule.c')
-rw-r--r-- | filter/filter-rule.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/filter/filter-rule.c b/filter/filter-rule.c index 180b070cb1..17173a1c97 100644 --- a/filter/filter-rule.c +++ b/filter/filter-rule.c @@ -479,8 +479,10 @@ more_parts (GtkWidget *button, struct _rule_data *data) } /* set the "Remove criterion" button sensitive */ - w = gtk_object_get_data (GTK_OBJECT (button), "remove"); - gtk_widget_set_sensitive (w, TRUE); + if (g_list_length (data->fr->parts) > 1) { + w = gtk_object_get_data (GTK_OBJECT (button), "remove"); + gtk_widget_set_sensitive (w, TRUE); + } } static void |