equal
deleted
inserted
replaced
77 } |
77 } |
78 break; |
78 break; |
79 |
79 |
80 case EIndicatorTestAppSharingAvailable: |
80 case EIndicatorTestAppSharingAvailable: |
81 { |
81 { |
82 |
|
83 MultimediaSharingSettings::SetPopupNotificationSettingL( EPopupNotificationOn ); |
|
84 break; |
82 break; |
85 } |
83 } |
86 case EIndicatorTestAppSharingNotAvailable: |
84 case EIndicatorTestAppSharingNotAvailable: |
87 { |
85 { |
88 MultimediaSharingSettings::SetPopupNotificationSettingL( EPopupNotificationOff ); |
|
89 break; |
86 break; |
90 } |
87 } |
91 default: |
88 default: |
92 //Panic(EIndicatorTestAppBasicUi); |
89 //Panic(EIndicatorTestAppBasicUi); |
93 break; |
90 break; |
107 } |
104 } |
108 |
105 |
109 void CIndicatorTestAppAppUi::DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane) |
106 void CIndicatorTestAppAppUi::DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane) |
110 { |
107 { |
111 if( aResourceId == R_INDICATORTESTAPP_MENU ) |
108 if( aResourceId == R_INDICATORTESTAPP_MENU ) |
112 { |
109 { |
113 if( MultimediaSharingSettings::PopupNotificationSettingL() == EPopupNotificationOn ) |
|
114 { |
|
115 aMenuPane->DeleteMenuItem( EIndicatorTestAppNoPopUpNotification ); |
|
116 } |
|
117 else |
|
118 { |
|
119 aMenuPane->DeleteMenuItem( EIndicatorTestAppPopUpNotification ); |
|
120 } |
|
121 if( MultimediaSharingSettings::AuditoryNotificationSettingL() == EAuditoryNotificationOn ) |
110 if( MultimediaSharingSettings::AuditoryNotificationSettingL() == EAuditoryNotificationOn ) |
122 { |
111 { |
123 aMenuPane->DeleteMenuItem( EIndicatorTestAppNoAudiotoryNotification ); |
112 aMenuPane->DeleteMenuItem( EIndicatorTestAppNoAudiotoryNotification ); |
124 } |
113 } |
125 else |
114 else |