[geary/wip/713739-inline: 37/37] Don't search drafts
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/713739-inline: 37/37] Don't search drafts
- Date: Tue, 20 May 2014 20:18:46 +0000 (UTC)
commit 5d045a97787bfeb81084f874761c18d05f68df14
Author: Robert Schroll <rschroll gmail com>
Date: Mon May 19 19:05:03 2014 -0700
Don't search drafts
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]