[geary] Check for inline compositions before switching conversation from notification



commit 44d6e2a4dd40b0b3947b206b62dbfdbf9ff7970f
Author: Robert Schroll <rschroll gmail com>
Date:   Sat Aug 23 12:25:33 2014 -0400

    Check for inline compositions before switching conversation from notification
    
    https://bugzilla.gnome.org/show_bug.cgi?id=733430

 src/client/application/geary-controller.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/client/application/geary-controller.vala b/src/client/application/geary-controller.vala
index 990b548..94e5779 100644
--- a/src/client/application/geary-controller.vala
+++ b/src/client/application/geary-controller.vala
@@ -1356,7 +1356,7 @@ public class GearyController : Geary.BaseObject {
     private void on_libnotify_invoked(Geary.Folder? folder, Geary.Email? email) {
         new_messages_monitor.clear_all_new_messages();
         
-        if (folder == null || email == null)
+        if (folder == null || email == null || !can_switch_conversation_view())
             return;
         
         main_window.folder_list.select_folder(folder);


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