diff -r 702ba9ffe210 -r d7abecc9d189 application/data/PodcastSettingsView.ra --- a/application/data/PodcastSettingsView.ra Sat Nov 13 15:05:16 2010 +0000 +++ b/application/data/PodcastSettingsView.ra Mon Nov 22 15:41:41 2010 +0000 @@ -28,11 +28,6 @@ { items = { - /*MENU_ITEM - { - command = EPodcastResetDb; - txt = STRING_r_podcast_setting_reset_db; - },*/ MENU_ITEM { command = EPodcastHelp; @@ -41,7 +36,6 @@ }; } - RESOURCE AVKON_VIEW r_podcast_settingsview { menubar = r_podcast_settingsview_menubar; @@ -73,6 +67,13 @@ associated_resource = r_on_off_texts; name = STRING_r_podcast_setting_autodownload; }, + AVKON_SETTING_ITEM + { + identifier = EPodcastSettingAutoDelete; + setting_page_resource = r_podcast_autodelete_page_resource; + associated_resource = r_podcast_autodelete_texts; + name = STRING_r_podcast_setting_autodelete; + }, // AVKON_SETTING_ITEM // { // identifier = EPodcastSettingConnection; @@ -173,6 +174,44 @@ }; } +RESOURCE AVKON_SETTING_PAGE r_podcast_autodelete_page_resource +{ + label= STRING_r_podcast_setting_autodelete; + type = EAknCtPopupSettingList; + editor_resource_id = r_setting_autodelete_popup_list_entry; +} + +RESOURCE POPUP_SETTING_LIST r_setting_autodelete_popup_list_entry +{ +} + +RESOURCE AVKON_POPUP_SETTING_TEXTS r_podcast_autodelete_texts +{ + flags = 0; + setting_texts_resource = r_podcast_autodelete_closed; + popped_up_texts_resource = r_podcast_autodelete_opened; +} + +RESOURCE ARRAY r_podcast_autodelete_closed +{ + items = + { + AVKON_ENUMERATED_TEXT { value=0; text=STRING_podcast_autodelete_option1; }, + AVKON_ENUMERATED_TEXT { value=1; text=STRING_podcast_autodelete_option2; }, + AVKON_ENUMERATED_TEXT { value=2; text=STRING_podcast_autodelete_option3; } + }; +} + +RESOURCE ARRAY r_podcast_autodelete_opened +{ + items = + { + LBUF { txt=STRING_podcast_autodelete_option1; }, + LBUF { txt=STRING_podcast_autodelete_option2; }, + LBUF { txt=STRING_podcast_autodelete_option3; } + }; +} + RESOURCE AVKON_SETTING_PAGE r_podcast_autoupdate_page_resource { label= STRING_r_podcast_setting_autoupdate;