[evolution-patches] #54338:Problem with vFolders of same name.
- From: Bill Zhu <bill zhu sun com>
- To: "evolution-patches ximian com" <evolution-patches ximian com>
- Subject: [evolution-patches] #54338:Problem with vFolders of same name.
- Date: Fri, 13 Feb 2004 22:49:25 +0800
The rule-editor judges whether two rules is identical by both the rule
name and the source. We need judge only by rule name.
because there should not exist two rules has the same name.
http://bugzilla.ximian.com/show_bug.cgi?id=54338
Index: rule-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/filter/rule-editor.c,v
retrieving revision 1.54
diff -u -r1.54 rule-editor.c
--- rule-editor.c 29 Apr 2003 17:08:40 -0000 1.54
+++ rule-editor.c 13 Feb 2004 14:39:39 -0000
@@ -235,7 +235,7 @@
return;
}
- if (rule_context_find_rule (re->context, re->edit->name, re->edit->source)) {
+ if (rule_context_find_rule (re->context, re->edit->name, NULL)) {
dialog = gtk_message_dialog_new ((GtkWindow *) dialog, GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
_("Rule name '%s' is not unique, choose another."),
Index: rule-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/filter/rule-editor.c,v
retrieving revision 1.56
diff -u -r1.56 rule-editor.c
--- rule-editor.c 7 Jan 2004 00:29:28 -0000 1.56
+++ rule-editor.c 13 Feb 2004 14:41:35 -0000
@@ -235,7 +235,7 @@
return;
}
- if (rule_context_find_rule (re->context, re->edit->name, re->edit->source)) {
+ if (rule_context_find_rule (re->context, re->edit->name, NULL)) {
dialog = gtk_message_dialog_new ((GtkWindow *) dialog, GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
_("Rule name '%s' is not unique, choose another."),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]