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 /mail | |
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 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-ops.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 9ecaabb8ee..5c569ed639 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-07-01 Ettore Perazzoli <ettore@helixcode.com> + + * mail-ops.c (refile_msg): Only allow type "mail" in the folder + selection dialog. + 2000-07-01 Dan Winship <danw@helixcode.com> * pixmaps.h, pixmaps/*.xpm: Removed. These aren't being used any diff --git a/mail/mail-ops.c b/mail/mail-ops.c index efc41e5907..54288351fd 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -638,6 +638,7 @@ refile_msg (GtkWidget *button, gpointer user_data) MessageList *ml = fb->message_list; char *uri, *physical, *path; struct refile_data rfd; + const char *allowed_types[] = { "mail", NULL }; extern EvolutionShellClient *global_shell_client; static char *last; @@ -647,7 +648,7 @@ refile_msg (GtkWidget *button, gpointer user_data) evolution_shell_client_user_select_folder (global_shell_client, _("Refile message(s) to"), - last, &uri, &physical); + last, allowed_types, &uri, &physical); if (!uri) return; |