equal
deleted
inserted
replaced
1147 { |
1147 { |
1148 User::Leave( ret ); |
1148 User::Leave( ret ); |
1149 } |
1149 } |
1150 |
1150 |
1151 CWidgetPropertyValue* displayname = widgetregistry.GetWidgetPropertyValueL(m_Uid, EBundleDisplayName ); |
1151 CWidgetPropertyValue* displayname = widgetregistry.GetWidgetPropertyValueL(m_Uid, EBundleDisplayName ); |
|
1152 if(displayname) |
|
1153 { |
|
1154 CleanupStack::PushL(displayname); |
|
1155 if(displayname->iType == EWidgetPropTypeString) |
|
1156 m_scriptSession->SetApplicationNameL(*displayname); |
|
1157 CleanupStack::PopAndDestroy(); // displayname |
|
1158 } |
|
1159 |
1152 User::LeaveIfError(widgetregistry.Disconnect()); |
1160 User::LeaveIfError(widgetregistry.Disconnect()); |
1153 CleanupStack::PopAndDestroy(); //widgetregistry |
1161 CleanupStack::PopAndDestroy(); // widgetregistry |
1154 |
|
1155 if ( displayname && displayname->iType == EWidgetPropTypeString ) |
|
1156 { |
|
1157 m_scriptSession->SetApplicationNameL(*displayname); |
|
1158 } |
|
1159 ); |
1162 ); |
1160 } |
1163 } |
1161 #endif |
1164 #endif |
1162 |
1165 |
1163 // ---------------------------------------------------------------------------- |
1166 // ---------------------------------------------------------------------------- |