openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@apache.org
Subject svn commit: r1533029 - /openoffice/branches/ia2/main/winaccessibility/source/service/AccContainerEventListener.cxx
Date Thu, 17 Oct 2013 10:03:37 GMT
Author: steve_y
Date: Thu Oct 17 10:03:36 2013
New Revision: 1533029

URL: http://svn.apache.org/r1533029
Log:
Modified for Sidebar focus event

Modified:
    openoffice/branches/ia2/main/winaccessibility/source/service/AccContainerEventListener.cxx

Modified: openoffice/branches/ia2/main/winaccessibility/source/service/AccContainerEventListener.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/ia2/main/winaccessibility/source/service/AccContainerEventListener.cxx?rev=1533029&r1=1533028&r2=1533029&view=diff
==============================================================================
--- openoffice/branches/ia2/main/winaccessibility/source/service/AccContainerEventListener.cxx
(original)
+++ openoffice/branches/ia2/main/winaccessibility/source/service/AccContainerEventListener.cxx
Thu Oct 17 10:03:36 2013
@@ -383,7 +383,9 @@ void AccContainerEventListener::fireStat
         {
             //don't send focused event on PANEL & OPTION_PANE if the parent is not toolbar
             short parentRole = getParentRole();
-            if (parentRole == AccessibleRole::TOOL_BAR)
+            if (parentRole == AccessibleRole::TOOL_BAR 
+				|| parentRole == AccessibleRole::SCROLL_PANE // sidebar
+				|| parentRole == AccessibleRole::PANEL)	// sidebar
                 pAgent->NotifyAccEvent(UM_EVENT_STATE_FOCUSED, pAccessible);
         }
         //to update ComboBox's description



Mime
View raw message