diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-05-11 14:26:42 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-05-11 14:26:42 +0800 |
commit | e18f01469d382189d9d9365a8c79828081e09d1d (patch) | |
tree | a34a48e1e5d191f50d1f7214cbf8920b1b601c51 /mail/em-popup.c | |
parent | ba75befc400c0d7fc18f93c9f2574e597748579e (diff) | |
download | gsoc2013-evolution-e18f01469d382189d9d9365a8c79828081e09d1d.tar.gz gsoc2013-evolution-e18f01469d382189d9d9365a8c79828081e09d1d.tar.zst gsoc2013-evolution-e18f01469d382189d9d9365a8c79828081e09d1d.zip |
Added support for flush outbox and refresh folder.
svn path=/trunk/; revision=33504
Diffstat (limited to 'mail/em-popup.c')
-rw-r--r-- | mail/em-popup.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/em-popup.c b/mail/em-popup.c index c48f901d94..b059926f94 100644 --- a/mail/em-popup.c +++ b/mail/em-popup.c @@ -338,7 +338,12 @@ em_popup_target_new_folder (EMPopup *emp, const char *uri, guint32 info_flags, g if (!(info_flags & CAMEL_FOLDER_NOINFERIORS)) mask &= ~EM_POPUP_FOLDER_INFERIORS; - + + if (info_flags & CAMEL_FOLDER_TYPE_OUTBOX) + mask &= ~EM_POPUP_FOLDER_OUTBOX; + else + mask &= ~EM_POPUP_FOLDER_NONSTATIC; + if (!(info_flags & CAMEL_FOLDER_NOSELECT)) mask &= ~EM_POPUP_FOLDER_SELECT; @@ -868,6 +873,8 @@ static const EPopupHookTargetMask emph_folder_masks[] = { { "inferiors", EM_POPUP_FOLDER_INFERIORS }, { "delete", EM_POPUP_FOLDER_DELETE }, { "select", EM_POPUP_FOLDER_SELECT }, + { "outbox", EM_POPUP_FOLDER_OUTBOX }, + { "nonstatic", EM_POPUP_FOLDER_NONSTATIC }, { 0 } }; |