icon_path = setting_cfg_get_icon_path_idx(i, j);
/* SETTING_TRACE_DEBUG("Got an item[keyStr:%s, ug_args:%s, pos:%d]", */
/* keyStr, ug_args, tmpPos); */
-
- if (idx_second_menu < MAX_MORE_MENU_NUM
- && Cfg_Item_Pos_Level1 == tmpPos
- && SETTING_VIEW_MAIN == ad->view_load
- && MAIN_PROFILE_PREFERRED == ad->profile_type) {
-
- ad->more_connective_menus[idx_second_menu++] = keyStr;
- }
-
- if (Cfg_Item_Pos_Level_All == inputPos) {
- } else if (inputPos != tmpPos) { /* not in the inputPos level */
- continue;
- }
if (is_emulator) {
if (!safeStrCmp(KeyStr_FlightMode, keyStr)) {
}
}
+ if (idx_second_menu < MAX_MORE_MENU_NUM
+ && Cfg_Item_Pos_Level1 == tmpPos
+ && SETTING_VIEW_MAIN == ad->view_load
+ && MAIN_PROFILE_PREFERRED == ad->profile_type) {
+
+ ad->more_connective_menus[idx_second_menu++] = keyStr;
+ }
+
+ if (Cfg_Item_Pos_Level_All == inputPos) {
+ } else if (inputPos != tmpPos) { /* not in the inputPos level */
+ continue;
+ }
+
if (!safeStrCmp(KeyStr_FlightMode, keyStr)) { /* load special radio */
// ug == NULL
mainlist_table[MAINLIST_ENTRY_FLIGHT_MODE].ui_handler(ad, keyStr, icon_path, ug_args, genlist);
icon_path = setting_cfg_get_icon_path_idx(i, j);
ug_args = setting_cfg_get_ug_args_idx(i, j);
- if (idx_second_menu < MAX_MORE_MENU_NUM
- && Cfg_Item_Pos_Level1 == tmpPos
- && SETTING_VIEW_MAIN == ad->view_load
- && MAIN_PROFILE_PREFERRED == ad->profile_type) {
- ad->more_system_menus[idx_second_menu++] = keyStr;
- }
-
//SETTING_TRACE("KeyString : %s , tmpPos : %d , inputPos : %d ", keyStr, tmpPos, inputPos );
- if (Cfg_Item_Pos_Level_All == inputPos) {
- // do nothing
- //SETTING_TRACE("Cfg_Item_Pos_Level_All == inputPos ---> no draw --- WHY?? ");
- } else if (inputPos != tmpPos) { /* not in the inputPos level */
- //SETTING_TRACE("inputPos == tmp Pos ---> no draw --- WHY?? ");
- continue;
- }
if (is_emulator) {
if (!safeStrCmp(KeyStr_EventsNotifications, keyStr)) {
}
}
+ if (idx_second_menu < MAX_MORE_MENU_NUM
+ && Cfg_Item_Pos_Level1 == tmpPos
+ && SETTING_VIEW_MAIN == ad->view_load
+ && MAIN_PROFILE_PREFERRED == ad->profile_type) {
+ ad->more_system_menus[idx_second_menu++] = keyStr;
+ }
+
+ if (Cfg_Item_Pos_Level_All == inputPos) {
+ // do nothing
+ //SETTING_TRACE("Cfg_Item_Pos_Level_All == inputPos ---> no draw --- WHY?? ");
+ } else if (inputPos != tmpPos) { /* not in the inputPos level */
+ //SETTING_TRACE("inputPos == tmp Pos ---> no draw --- WHY?? ");
+ continue;
+ }
+
if (!safeStrCmp(KeyStr_Landscape, keyStr)) { /* load special UG */
int value = 0;
vconf_get_bool