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/filter-arg-types.c | |
parent | a84feecf5bb608d4b05f43f353d83041670f8f41 (diff) | |
download | gsoc2013-evolution-fbc6a557a6d394fb9749cac6e739b6de63752b74.tar gsoc2013-evolution-fbc6a557a6d394fb9749cac6e739b6de63752b74.tar.gz gsoc2013-evolution-fbc6a557a6d394fb9749cac6e739b6de63752b74.tar.bz2 gsoc2013-evolution-fbc6a557a6d394fb9749cac6e739b6de63752b74.tar.lz gsoc2013-evolution-fbc6a557a6d394fb9749cac6e739b6de63752b74.tar.xz 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/filter-arg-types.c')
-rw-r--r-- | filter/filter-arg-types.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |