textinput/peninputsplititut/src/peninputsplititutwindow.cpp
branchRCL_3
changeset 18 b1ea1642412e
parent 12 5e18d8c489d6
--- a/textinput/peninputsplititut/src/peninputsplititutwindow.cpp	Mon Jun 21 16:02:35 2010 +0300
+++ b/textinput/peninputsplititut/src/peninputsplititutwindow.cpp	Thu Jul 15 19:01:13 2010 +0300
@@ -54,6 +54,7 @@
 
 const TUint KDefaultIcfTextColor = 0x000000;
 const TUint KDefaultIcfFrameColor = 0x000000;
+const TInt KTextLength = 100;
 
 
 
@@ -1457,6 +1458,11 @@
 
 void CSplitItutWindow::UpdateIndiBubbleL( TUint8* aData )
     {  
+	// if icf is hidden, not call updateindibubblel
+    if( iICF->Hiden() )     
+    	{
+        return;
+    	}
     RDesReadStream readStream;
     TFepIndicatorInfo indicatorData;
 
@@ -1484,7 +1490,7 @@
                              indicatorData.iIndicatorTextImgID,
                              indicatorData.iIndicatorTextMaskID );
             
-		TBuf<100> text;	
+		TBuf<KTextLength> text;	
         iICF->MsgBubbleCtrl()->GetText( text );
         iICF->ShowBubble( text, iICF->MsgBubbleCtrl()->Rect());
         }