idlehomescreen/xmluicontroller/src/appui.cpp
branchRCL_3
changeset 12 9674c1a575e9
parent 11 ff572dfe6d86
child 17 b8fae6b8a148
--- a/idlehomescreen/xmluicontroller/src/appui.cpp	Fri Mar 12 15:41:49 2010 +0200
+++ b/idlehomescreen/xmluicontroller/src/appui.cpp	Mon Mar 15 12:39:47 2010 +0200
@@ -23,7 +23,7 @@
 #include <AknDlgShut.h>                 
 #include <aknview.h>
 #include <apacmdln.h>
-#include <logsuicmdstarter.h>
+#include <LogsUiCmdStarter.h>
 #include <aknconsts.h>
 #include <akntitle.h>
 #include <StringLoader.h>
@@ -195,7 +195,7 @@
             iDeviceStatusInfo, EAiFwSystemStartup );                                       
         }
     
-    iUiCtl.FwEventHandler()->HandleUiReadyEventL( iUiCtl );
+    TRAP_IGNORE( iUiCtl.FwEventHandler()->HandleUiReadyEventL( iUiCtl ) );
     
     __PRINTS( "*** CAppUi::ActivateUi - done" );
     }
@@ -616,7 +616,11 @@
 //
 void CAppUi::SetTitlePaneTextL( const TDesC& aText )
     {
-    CEikStatusPane* sp( StatusPane() );
+    CEikStatusPane* sp( StatusPane() );  
+    if ( !sp ) { return; }
+    
+    // make sure status pane is transparent.
+    sp->EnableTransparent( ETrue );
     
     TUid titlePaneUid( TUid::Uid( EEikStatusPaneUidTitle ) );
            
@@ -631,8 +635,12 @@
         if ( title )
             {
             title->SetTextL( aText );        
+            title->DrawNow();
             }               
         }
+    
+    // redraw statuspane
+    sp->DrawNow();
     }
 
 // End of File.