equal
deleted
inserted
replaced
35 #include <stringloader.h> |
35 #include <stringloader.h> |
36 #include <e32math.h> |
36 #include <e32math.h> |
37 #include <AknSgcc.h> |
37 #include <AknSgcc.h> |
38 #include <akntitle.h> |
38 #include <akntitle.h> |
39 #include <centralrepository.h> |
39 #include <centralrepository.h> |
40 #include <BrowserUiSDKCRKeys.h> |
40 #include <browseruisdkcrkeys.h> |
41 #ifdef RD_SCALABLE_UI_V2 |
41 #ifdef RD_SCALABLE_UI_V2 |
42 #include <LayoutMetaData.cdl.h> // For Layout_Meta_Data landscape/portrait status |
42 #include <LayoutMetaData.cdl.h> // For Layout_Meta_Data landscape/portrait status |
43 #include <akntoolbar.h> |
43 #include <akntoolbar.h> |
44 #endif |
44 #endif |
45 |
45 |
321 } |
321 } |
322 #endif |
322 #endif |
323 |
323 |
324 TBool visible(iStatusPaneVisible); |
324 TBool visible(iStatusPaneVisible); |
325 |
325 |
326 // non-touch: always show status pane in landscape if softkeys are visible |
|
327 if (!visible && Cba()->IsVisible() && |
|
328 AknLayoutUtils::CbaLocation() != AknLayoutUtils::EAknCbaLocationBottom) |
|
329 { |
|
330 visible = ETrue; |
|
331 } |
|
332 |
|
333 StatusPane()->MakeVisible(visible); |
326 StatusPane()->MakeVisible(visible); |
334 |
327 |
335 if (visible && StatusPane()->CurrentLayoutResId() != R_AVKON_STATUS_PANE_LAYOUT_USUAL_FLAT) |
328 if (visible && StatusPane()->CurrentLayoutResId() != R_AVKON_STATUS_PANE_LAYOUT_USUAL_FLAT) |
336 { |
329 { |
337 StatusPane()->SwitchLayoutL(R_AVKON_STATUS_PANE_LAYOUT_USUAL_FLAT); |
330 StatusPane()->SwitchLayoutL(R_AVKON_STATUS_PANE_LAYOUT_USUAL_FLAT); |