diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-07-02 12:46:36 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-07-02 12:46:36 +0800 |
commit | fbc6a557a6d394fb9749cac6e739b6de63752b74 (patch) | |
tree | 48a6c2d982c2075019ecc024864b72a97a829c10 /filter | |
parent | a84feecf5bb608d4b05f43f353d83041670f8f41 (diff) | |
download | gsoc2013-evolution-fbc6a557a6d394fb9749cac6e739b6de63752b74.tar.gz gsoc2013-evolution-fbc6a557a6d394fb9749cac6e739b6de63752b74.tar.zst gsoc2013-evolution-fbc6a557a6d394fb9749cac6e739b6de63752b74.zip |
Added an extra @allowed_types parameter to the shell's folder
selection dialog, and update the code that uses it accordingly.
svn path=/trunk/; revision=3854
Diffstat (limited to 'filter')
-rw-r--r-- | filter/ChangeLog | 5 | ||||
-rw-r--r-- | filter/filter-arg-types.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index debe07c57c..9480f152c5 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,8 @@ +2000-07-01 Ettore Perazzoli <ettore@helixcode.com> + + * filter-arg-types.c (arg_folder_edit_value): Only allow type + "mail" when selecting a folder for the filter. + 2000-07-01 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c: Updated to reflect changes made to diff --git a/filter/filter-arg-types.c b/filter/filter-arg-types.c index afecb0bcde..914ab8343a 100644 --- a/filter/filter-arg-types.c +++ b/filter/filter-arg-types.c @@ -556,6 +556,7 @@ arg_folder_write_text(FilterArg *argin, GString *string) static int arg_folder_edit_value (FilterArg *arg, int index) { + const char *allowed_types[] = { "mail", NULL }; char *def; char *physical_uri; @@ -569,7 +570,7 @@ arg_folder_edit_value (FilterArg *arg, int index) evolution_shell_client_user_select_folder (global_shell_client, _("Select Folder"), - def, NULL, &physical_uri); + def, allowed_types, NULL, &physical_uri); if (physical_uri != NULL && physical_uri[0] != '\0') { GList *node; |