equal
deleted
inserted
replaced
46 #include "PslnConst.h" |
46 #include "PslnConst.h" |
47 #include "PslnUi.h" |
47 #include "PslnUi.h" |
48 |
48 |
49 // CONSTANTS |
49 // CONSTANTS |
50 // Number of default system screensavers. |
50 // Number of default system screensavers. |
51 const TInt KPslnSystemScreenSavers = 2; |
51 const TInt KPslnSystemScreenSavers = 3; |
52 // Value in PubSub when screensaver preview is off. |
52 // Value in PubSub when screensaver preview is off. |
53 const TInt KPslnScreenSaverPreviewOff = 0; |
53 const TInt KPslnScreenSaverPreviewOff = 0; |
54 |
54 |
55 // ============================ MEMBER FUNCTIONS =============================== |
55 // ============================ MEMBER FUNCTIONS =============================== |
56 |
56 |
424 |
424 |
425 if ( IsChangeCommandVisibleL() ) |
425 if ( IsChangeCommandVisibleL() ) |
426 { |
426 { |
427 // Remove Set screensaver, if current selection is already active. |
427 // Remove Set screensaver, if current selection is already active. |
428 aMenuPane->SetItemDimmed( EPslnCmdAppSetScreenSaver, ETrue ); |
428 aMenuPane->SetItemDimmed( EPslnCmdAppSetScreenSaver, ETrue ); |
|
429 // Remove Settings which works exactly the same as Change |
|
430 aMenuPane->SetItemDimmed( EPslnCmdAppSettings, ETrue ); |
429 } |
431 } |
430 else if ( IsApplyCommandVisibleL() ) |
432 else if ( IsApplyCommandVisibleL() ) |
431 { |
433 { |
432 // Remove Change screensaver if |
434 // Remove Change screensaver if |
433 // a) not active screensaver |
435 // a) not active screensaver |