From a4f491cac1f17dd338ba6d4c39537f5223c988ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Doyon?= Date: Wed, 7 Nov 2007 03:25:33 +0000 Subject: Add a setting to control whether or not to speak the file type (r15506). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15508 a1c6a512-1295-4272-9138-f99709370657 --- apps/menus/settings_menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/menus/settings_menu.c') diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c index 1cea2b8c53..d1ca4a8d50 100644 --- a/apps/menus/settings_menu.c +++ b/apps/menus/settings_menu.c @@ -443,11 +443,12 @@ static int talk_callback(int action,const struct menu_item_ex *this_item) } return action; } +MENUITEM_SETTING(talk_filetype_item, &global_settings.talk_filetype, NULL); MENUITEM_SETTING(talk_battery_level_item, &global_settings.talk_battery_level, NULL); MAKE_MENU(voice_settings_menu, ID2P(LANG_VOICE), 0, Icon_Voice, &talk_menu_item, &talk_dir_item, &talk_dir_clip_item, - &talk_file_item, &talk_file_clip_item, + &talk_file_item, &talk_file_clip_item, &talk_filetype_item, &talk_battery_level_item); /* VOICE MENU */ /***********************************/ -- cgit v1.2.3