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



commit 501256bfd5046c645938aa8ad1a2b44d39794357
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 be0f56f..d17cae7 100644
--- a/src/client/application/geary-controller.vala
+++ b/src/client/application/geary-controller.vala
@@ -1510,14 +1510,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]