equal
deleted
inserted
replaced
129 if ( FeatureManager::FeatureSupported( KFeatureIdFfCmailIntegration ) ) |
129 if ( FeatureManager::FeatureSupported( KFeatureIdFfCmailIntegration ) ) |
130 { |
130 { |
131 // remove help support in pf5250 |
131 // remove help support in pf5250 |
132 aMenuPane->SetItemDimmed( EFsEmailUiCmdHelp, ETrue); |
132 aMenuPane->SetItemDimmed( EFsEmailUiCmdHelp, ETrue); |
133 } |
133 } |
134 |
134 // Dim "Open" and "Change" |
135 // Dim "Open" or "Change" depending on the focused item |
135 aMenuPane->SetItemDimmed( EFsEmailUiCmdChange, ETrue ); |
136 TInt focusedId = iGlobalSettingsSettingItemList->FocusedItemId(); |
136 aMenuPane->SetItemDimmed( EFsEmailUiCmdOpen, ETrue ); |
137 if ( focusedId == EGlobalSettingsActiveIdle ) |
137 |
138 { |
|
139 aMenuPane->SetItemDimmed( EFsEmailUiCmdChange, ETrue ); |
|
140 } |
|
141 else |
|
142 { |
|
143 aMenuPane->SetItemDimmed( EFsEmailUiCmdOpen, ETrue ); |
|
144 } |
|
145 |
|
146 // Add shortcut hints |
138 // Add shortcut hints |
147 iAppUi.ShortcutBinding().AppendShortcutHintsL( *aMenuPane, |
139 iAppUi.ShortcutBinding().AppendShortcutHintsL( *aMenuPane, |
148 CFSEmailUiShortcutBinding::EContextSettings ); |
140 CFSEmailUiShortcutBinding::EContextSettings ); |
149 } |
141 } |
150 } |
142 } |