_pListView->UpdateList();
_pIconListView->UpdateList();
- //OnDeviceChange(currentDeviceType, state);
}
void
String sortbyKeyName(L"SortBy");
SortByType sortStyle = SORT_BY_TYPE_DATE_RECENT;
+ String timeFormatKeyName(L"TimeFormat");
+ String timeFormatSettingSelected;
+
+ String timeFormatSettingKey = L"http://tizen.org/setting/locale.date_time.format";
+ TimeFormat timeFormatSelected = TIME_FORMAT_NONE;
+
pAppRegistry = UiApp::App::GetInstance()->GetAppRegistry();
+ SettingInfo::GetValue(timeFormatSettingKey, timeFormatSettingSelected);
+
r = pAppRegistry->Add(viewStyleKeyName, viewStyle);
if (r == E_SUCCESS)
{
r = pAppRegistry->Save();
}
+ if (timeFormatSettingSelected.CompareTo(IDB_DATETIME_24HR) == 0)
+ {
+ timeFormatSelected = TIME_FORMAT_24_HOUR;
+ }
+ else if (timeFormatSettingSelected.CompareTo(IDB_DATETIME_12HR) == 0)
+ {
+ timeFormatSelected = TIME_FORMAT_12_HOUR;
+ }
+ r = pAppRegistry->Add(timeFormatKeyName, timeFormatSelected);
+
+ if (r == E_SUCCESS)
+ {
+ r = pAppRegistry->Save();
+ }
AppLogDebug("EXIT: r = %s", GetErrorMessage(r));
}
delete pDocsPressed;
delete pOthersPressed;
}
+
+void
+TopLevelFolderFileListForm::OnAppControlCompleted(void)
+{
+ AppLogDebug("TopLevelFolderFileListForm::OnAppControlCompleted");
+ Invalidate(true);
+}