equal
deleted
inserted
replaced
148 case EClockWorldMyRegion: |
148 case EClockWorldMyRegion: |
149 { |
149 { |
150 //Single click integration |
150 //Single click integration |
151 // If current item is other than home location set it as new home |
151 // If current item is other than home location set it as new home |
152 // location |
152 // location |
153 if ( iContainer->ListBox()->CurrentItemIndex() > KZerothIndex ) |
153 RClkSrvInterface clkSrvInterface; |
|
154 User::LeaveIfError( clkSrvInterface.Connect() ); |
|
155 |
|
156 TBool timeUpdateOn( EFalse ); |
|
157 |
|
158 // Get the state of the plugin. |
|
159 clkSrvInterface.IsAutoTimeUpdateOn( timeUpdateOn ); |
|
160 if ( iContainer->ListBox()->CurrentItemIndex() > KZerothIndex || timeUpdateOn) |
154 { |
161 { |
155 SetHomeLocationL(); |
162 SetHomeLocationL(); |
156 } |
163 } |
157 |
164 |
|
165 // Cleanup. |
|
166 clkSrvInterface.Close(); |
158 } |
167 } |
159 break; |
168 break; |
160 |
169 |
161 case EClockWorldRemoveRegion: |
170 case EClockWorldRemoveRegion: |
162 { |
171 { |
292 |
301 |
293 { |
302 { |
294 __PRINTS( "CClockWorldView::DynInitMenuBarL - Entry" ); |
303 __PRINTS( "CClockWorldView::DynInitMenuBarL - Entry" ); |
295 |
304 |
296 //single click integration |
305 //single click integration |
297 if( aMenuBar && ( IsSelectionListOpen() || IsGalleryOpen() ) ) |
306 if( aMenuBar && ( /*IsSelectionListOpen() || */IsGalleryOpen() ) ) |
298 { |
307 { |
299 // If the selection list open, we should not display the menupane. |
308 // If the selection list open, we should not display the menupane. |
300 aMenuBar->StopDisplayingMenuBar(); |
309 aMenuBar->StopDisplayingMenuBar(); |
301 } |
310 } |
302 |
311 |