[geary/wip/765516-gtk-widget-conversation-viewer: 153/169] Fix reply/forward toobar buttons not being enabled for search folder.



commit 98af3375abbb2fd50b8099a1f10f45fb8ad43476
Author: Michael James Gratton <mike vee net>
Date:   Wed Sep 7 10:50:51 2016 +1000

    Fix reply/forward toobar buttons not being enabled for search folder.

 src/client/application/geary-controller.vala |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/client/application/geary-controller.vala b/src/client/application/geary-controller.vala
index c13f70b..e4935d0 100644
--- a/src/client/application/geary-controller.vala
+++ b/src/client/application/geary-controller.vala
@@ -1535,14 +1535,13 @@ public class GearyController : Geary.BaseObject {
                 // Cancel existing avatar loads before loading new
                 // convo since that will start loading more avatars
                 avatar_session.flush_queue();
-                bool is_search = this.current_folder is Geary.SearchFolder;
                 viewer.load_conversation.begin(
                     Geary.Collection.get_first(selected),
                     this.current_folder,
                     (obj, ret) => {
                         try {
                             viewer.load_conversation.end(ret);
-                            enable_message_buttons(!is_search);
+                            enable_message_buttons(true);
                             GearyApplication.instance.get_action(
                                 ACTION_FIND_IN_CONVERSATION
                             ).set_sensitive(true);


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