aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-09-26 05:42:16 +0800
committerDan Winship <danw@src.gnome.org>2002-09-26 05:42:16 +0800
commitfec2c01178c64fc628b8638caee3b6712be9a442 (patch)
tree7678580f85b1913a32336f49feb44350645c5815
parentf1877fa23bb9e77044759725bb2e5c3b8ca9787f (diff)
downloadgsoc2013-evolution-fec2c01178c64fc628b8638caee3b6712be9a442.tar
gsoc2013-evolution-fec2c01178c64fc628b8638caee3b6712be9a442.tar.gz
gsoc2013-evolution-fec2c01178c64fc628b8638caee3b6712be9a442.tar.bz2
gsoc2013-evolution-fec2c01178c64fc628b8638caee3b6712be9a442.tar.lz
gsoc2013-evolution-fec2c01178c64fc628b8638caee3b6712be9a442.tar.xz
gsoc2013-evolution-fec2c01178c64fc628b8638caee3b6712be9a442.tar.zst
gsoc2013-evolution-fec2c01178c64fc628b8638caee3b6712be9a442.zip
Use "mail/*" as the allowed folder type.
* filter-folder.c (get_widget): Use "mail/*" as the allowed folder type. * vfolder-rule.c (source_add): Likewise svn path=/trunk/; revision=18225
-rw-r--r--filter/ChangeLog7
-rw-r--r--filter/filter-folder.c2
-rw-r--r--filter/vfolder-rule.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index 105e720e97..3c682db9ef 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,10 @@
+2002-09-25 Dan Winship <danw@ximian.com>
+
+ * filter-folder.c (get_widget): Use "mail/*" as the allowed folder
+ type.
+
+ * vfolder-rule.c (source_add): Likewise
+
2002-09-22 Dan Winship <danw@ximian.com>
* filter-context.c (filter_delete_uri): add empty statement after
diff --git a/filter/filter-folder.c b/filter/filter-folder.c
index 935e19df0f..d24fd1cd26 100644
--- a/filter/filter-folder.c
+++ b/filter/filter-folder.c
@@ -229,7 +229,7 @@ folder_selected (EvolutionFolderSelectorButton *button,
static GtkWidget *
get_widget (FilterElement *fe)
{
- static const char *allowed_types[] = { "mail", NULL };
+ static const char *allowed_types[] = { "mail/*", NULL };
FilterFolder *ff = (FilterFolder *)fe;
GtkWidget *button;
diff --git a/filter/vfolder-rule.c b/filter/vfolder-rule.c
index 053561b4eb..897512242f 100644
--- a/filter/vfolder-rule.c
+++ b/filter/vfolder-rule.c
@@ -377,7 +377,7 @@ select_source_with(GtkWidget *w, struct _source_data *data)
static void
source_add(GtkWidget *widget, struct _source_data *data)
{
- static const char *allowed_types[] = { "mail", NULL };
+ static const char *allowed_types[] = { "mail/*", NULL };
GNOME_Evolution_Folder *folder;
char *def, *uri;
GtkListItem *item;