[geary] Don't search drafts: Closes bug #713890



commit 9a8f7fb6236764008b4dc88a02e21272d664eba4
Author: Robert Schroll <rschroll gmail com>
Date:   Mon May 19 19:05:03 2014 -0700

    Don't search drafts: Closes bug #713890
    
    This avoids the constant resorting when replying to a conversation in
    the search folder.  It also avoids the problems with the inline composer
    in this state.

 src/engine/api/geary-search-folder.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/engine/api/geary-search-folder.vala b/src/engine/api/geary-search-folder.vala
index 672853f..4d03421 100644
--- a/src/engine/api/geary-search-folder.vala
+++ b/src/engine/api/geary-search-folder.vala
@@ -53,6 +53,7 @@ public class Geary.SearchFolder : Geary.AbstractLocalFolder, Geary.FolderSupport
     private Geary.SpecialFolderType[] exclude_types = {
         Geary.SpecialFolderType.SPAM,
         Geary.SpecialFolderType.TRASH,
+        Geary.SpecialFolderType.DRAFTS,
         // Orphan emails (without a folder) are also excluded; see ctor.
     };
     private Geary.SearchQuery? search_query = null;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]