From: Changyong Jeon Date: Fri, 21 Jun 2013 04:59:04 +0000 (+0900) Subject: fix problem that the install button is not shown. X-Git-Tag: submit/tizen_2.2/20130714.134432~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76128cbf4924007f0715187bc557e353d44158ba;p=apps%2Fosp%2FInstaller.git fix problem that the install button is not shown. Change-Id: I8bed476c1169dd58bf730374ccc8842e9b60cafd --- diff --git a/Installer/res/screen-size-normal/IDL_INSTALLED_POPUP.xml b/Installer/res/screen-size-normal/IDL_INSTALLED_POPUP.xml index d1b4bdf..8cf2163 100644 --- a/Installer/res/screen-size-normal/IDL_INSTALLED_POPUP.xml +++ b/Installer/res/screen-size-normal/IDL_INSTALLED_POPUP.xml @@ -7,37 +7,37 @@ - + - + diff --git a/Installer/src/IstDetailForm.cpp b/Installer/src/IstDetailForm.cpp index 38ca2d4..3807896 100644 --- a/Installer/src/IstDetailForm.cpp +++ b/Installer/src/IstDetailForm.cpp @@ -331,14 +331,7 @@ DetailForm::GetItemCount(int sectionIndex) int DetailForm::GetSectionCount(void) { - if (__pPrivilegeList && __pPrivilegeList->GetCount() > 0) - { - return 3; - } - else - { - return 1; - } + return 3; } Tizen::Base::String @@ -372,6 +365,8 @@ DetailForm::HasSectionHeader(int sectionIndex) { switch (sectionIndex) { + case 1: + return (__pPrivilegeList && __pPrivilegeList->GetCount() > 0); case 2: return false; default: diff --git a/InstallerService/res/screen-size-normal/IDL_QUICK_INSTALLATION.xml b/InstallerService/res/screen-size-normal/IDL_QUICK_INSTALLATION.xml index 46504d1..9e1454c 100644 --- a/InstallerService/res/screen-size-normal/IDL_QUICK_INSTALLATION.xml +++ b/InstallerService/res/screen-size-normal/IDL_QUICK_INSTALLATION.xml @@ -11,22 +11,22 @@ - +