widgets/widgetapp/src/WidgetUiObserver.cpp
changeset 11 c8a366e56285
parent 10 a359256acfc6
child 25 0ed94ceaa377
equal deleted inserted replaced
10:a359256acfc6 11:c8a366e56285
   182             {
   182             {
   183             iWindow->SetSoftKeyLabelL( aKeySoftkey, aLabel );
   183             iWindow->SetSoftKeyLabelL( aKeySoftkey, aLabel );
   184             }
   184             }
   185         }
   185         }
   186     
   186     
   187     if (iWindow->WindowManager().ActiveWindow() && 
       
   188             iWindow->WindowManager().View()->CbaGroup()->IsVisible())
       
   189         {
       
   190         TBrCtlDefs::TBrCtlElementType elementtype =
       
   191                       iWindow->WindowManager().ActiveWindow()->Engine()->FocusedElementType();
       
   192         // Check if focused element type is editing type
       
   193         if ((elementtype == TBrCtlDefs::EElementActivatedInputBox) ||
       
   194                        (elementtype == TBrCtlDefs::EElementActivatedObjectBox))
       
   195             {
       
   196             iWindow->WindowManager().View()->UpdateStatusPane( ETrue );
       
   197             }
       
   198         else 
       
   199             {
       
   200             iWindow->WindowManager().View()->UpdateStatusPane( EFalse );
       
   201             }        
       
   202         }
       
   203     }
   187     }
   204 
   188 
   205 // -----------------------------------------------------------------------------
   189 // -----------------------------------------------------------------------------
   206 // CWidgetUiObserver::HandleBrowserLoadEventL
   190 // CWidgetUiObserver::HandleBrowserLoadEventL
   207 // -----------------------------------------------------------------------------
   191 // -----------------------------------------------------------------------------