[orca/gnome-3-22] Fix bug in presenting chatroom name when app is not active



commit adedbc6f1689c2fba9f1445ba709f1775b190887
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Sep 12 11:39:04 2016 -0400

    Fix bug in presenting chatroom name when app is not active

 src/orca/chat.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/chat.py b/src/orca/chat.py
index ca70b52..5181401 100644
--- a/src/orca/chat.py
+++ b/src/orca/chat.py
@@ -591,7 +591,8 @@ class Chat:
             return
 
         text = ""
-        if _settingsManager.getSetting('chatSpeakRoomName') and chatRoomName:
+        if chatRoomName and \
+           _settingsManager.getAppSetting(self._script.app, 'chatSpeakRoomName'):
             text = messages.CHAT_MESSAGE_FROM_ROOM % chatRoomName
 
         if not settings.presentChatRoomLast:


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