aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-rule.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2000-12-21 05:58:16 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-12-21 05:58:16 +0800
commit53e5cb89a5a1ff22fa4dc82e2a2aca3cb383616a (patch)
treeda4bad5a6144218a213e94b913d14286e62b1af5 /filter/filter-rule.c
parent64e2a500f8e989da0b56ac7f7b6e2f4b844b9ec2 (diff)
downloadgsoc2013-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.c6
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