equal
deleted
inserted
replaced
774 } |
774 } |
775 else if (trigger.Compare(KDeActive16) == 0) |
775 else if (trigger.Compare(KDeActive16) == 0) |
776 { |
776 { |
777 // Widget removed from homescreen. |
777 // Widget removed from homescreen. |
778 HBufC* cid = contentid.AllocLC(); |
778 HBufC* cid = contentid.AllocLC(); |
779 TInt widgetInstance = FindWidgetInstanceId(cid->Des()); |
779 TInt widgetInstance = FindWidgetInstanceId(cid->Des()); |
780 if (!iInactive[widgetInstance]) |
780 if (widgetInstance != KErrNotFound ) |
781 { |
781 { |
782 iMailCpsHandler->DissociateWidgetFromSettingL( cid->Des() ); |
782 if (!iInactive[widgetInstance]) |
783 iInstIdList.Remove(widgetInstance); |
783 { |
784 } |
784 iMailCpsHandler->DissociateWidgetFromSettingL( cid->Des() ); |
785 iAllowedToPublish[widgetInstance] = EFalse; |
785 iInstIdList.Remove(widgetInstance); |
|
786 } |
|
787 iAllowedToPublish[widgetInstance] = EFalse; |
|
788 } |
786 CleanupStack::PopAndDestroy( cid ); |
789 CleanupStack::PopAndDestroy( cid ); |
787 } |
790 } |
788 else if (trigger.Compare(KTriggerEmailUi) == 0) |
791 else if (trigger.Compare(KTriggerEmailUi) == 0) |
789 { |
792 { |
790 HBufC* cid = contentid.AllocLC(); |
793 HBufC* cid = contentid.AllocLC(); |