aboutsummaryrefslogtreecommitdiffstats
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
parent64e2a500f8e989da0b56ac7f7b6e2f4b844b9ec2 (diff)
downloadgsoc2013-evolution-53e5cb89a5a1ff22fa4dc82e2a2aca3cb383616a.tar
gsoc2013-evolution-53e5cb89a5a1ff22fa4dc82e2a2aca3cb383616a.tar.gz
gsoc2013-evolution-53e5cb89a5a1ff22fa4dc82e2a2aca3cb383616a.tar.bz2
gsoc2013-evolution-53e5cb89a5a1ff22fa4dc82e2a2aca3cb383616a.tar.lz
gsoc2013-evolution-53e5cb89a5a1ff22fa4dc82e2a2aca3cb383616a.tar.xz
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
-rw-r--r--filter/ChangeLog10
-rw-r--r--filter/filter-driver.c3
-rw-r--r--filter/filter-rule.c6
3 files changed, 16 insertions, 3 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index 60b3203d67..67e4aa9d3d 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,13 @@
+2000-12-20 Jeffrey Stedfast <fejj@helixcode.com>
+
+ * filter-driver.c (filter_driver_filter_message): Oops, slight
+ logic error. We want to copy the message to the default folder if
+ the message hasn't been Moved (which is the same as Copied &&
+ Deleted). This fixes bug #1007.
+
+ * filter-rule.c (more_parts): Make sure we have more than 1 part
+ before we sensitize the "remove" button.
+
2000-12-20 Not Zed <NotZed@HelixCode.com>
* filter-message-search.c (filter_message_search): Oops, missed a
diff --git a/filter/filter-driver.c b/filter/filter-driver.c
index 538a6bb5bc..5765a739c3 100644
--- a/filter/filter-driver.c
+++ b/filter/filter-driver.c
@@ -751,7 +751,8 @@ filter_driver_filter_message (FilterDriver *driver, CamelMimeMessage *message, C
g_string_free (fsearch, TRUE);
g_string_free (faction, TRUE);
- if (p->defaultfolder && !p->copied && !p->deleted) {
+ /* Logic: if !Moved and there exists a default folder... */
+ if (!(p->copied && p->deleted) && p->defaultfolder) {
/* copy it to the default inbox */
filtered = TRUE;
filter_driver_log (driver, FILTER_LOG_ACTION, "Copy to default folder");
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