equal
deleted
inserted
replaced
134 |
134 |
135 // get previous title so it can be restored |
135 // get previous title so it can be restored |
136 iStatusPaneHandler = CStatusPaneHandler::NewL(iAvkonAppUi); |
136 iStatusPaneHandler = CStatusPaneHandler::NewL(iAvkonAppUi); |
137 iStatusPaneHandler->StoreOriginalTitleL(); |
137 iStatusPaneHandler->StoreOriginalTitleL(); |
138 |
138 |
|
139 iAutoSyncDialog = EFalse; |
|
140 |
139 #ifdef RD_DSUI_TIMEDSYNC |
141 #ifdef RD_DSUI_TIMEDSYNC |
140 |
142 |
141 iTabHandler = new (ELeave) CAspTabbedNaviPaneHandler(iAvkonAppUi->StatusPane() ,this); |
143 iTabHandler = new (ELeave) CAspTabbedNaviPaneHandler(iAvkonAppUi->StatusPane() ,this); |
142 iUpdateTabGroup = ETrue; |
144 iUpdateTabGroup = ETrue; |
143 |
145 |
384 } |
386 } |
385 |
387 |
386 // Back key (cba) |
388 // Back key (cba) |
387 if (aButtonId == EAknSoftkeyBack) |
389 if (aButtonId == EAknSoftkeyBack) |
388 { |
390 { |
389 return ETrue; |
391 if( iAutoSyncDialog ) |
|
392 { |
|
393 return EFalse; |
|
394 } |
|
395 else |
|
396 { |
|
397 return ETrue; |
|
398 } |
390 } |
399 } |
391 |
400 |
392 // Exit key (cba) |
401 // Exit key (cba) |
393 if (aButtonId == EAknSoftkeyExit) |
402 if (aButtonId == EAknSoftkeyExit) |
394 { |
403 { |
1839 |
1848 |
1840 TAspParam param(iApplicationId, iSyncSession); |
1849 TAspParam param(iApplicationId, iSyncSession); |
1841 param.iProfileList = iProfileList; |
1850 param.iProfileList = iProfileList; |
1842 param.iProfile = NULL; |
1851 param.iProfile = NULL; |
1843 param.iContentList = iContentList; |
1852 param.iContentList = iContentList; |
|
1853 iAutoSyncDialog = ETrue; |
1844 CAspScheduleDialog::ShowDialogL(param); |
1854 CAspScheduleDialog::ShowDialogL(param); |
1845 |
1855 iAutoSyncDialog = EFalse; |
|
1856 |
1846 #ifdef RD_DSUI_TIMEDSYNC |
1857 #ifdef RD_DSUI_TIMEDSYNC |
1847 UpdateTabsL(); |
1858 UpdateTabsL(); |
1848 #endif |
1859 #endif |
1849 |
1860 |
1850 } |
1861 } |