summaryrefslogtreecommitdiffstats
path: root/apps/menus/display_menu.c
diff options
context:
space:
mode:
authorAlexander Levin <al.le@rockbox.org>2009-08-19 12:36:40 +0000
committerAlexander Levin <al.le@rockbox.org>2009-08-19 12:36:40 +0000
commit07d0bfd1016f589ddfd5307775ddda3437d04c6f (patch)
treef10ddef1b9d2b213ace5796936f3e0aace43552e /apps/menus/display_menu.c
parent3943ab07502b51604a5813088ace8ae6e00cb764 (diff)
downloadrockbox-07d0bfd1016f589ddfd5307775ddda3437d04c6f.tar.gz
rockbox-07d0bfd1016f589ddfd5307775ddda3437d04c6f.tar.bz2
rockbox-07d0bfd1016f589ddfd5307775ddda3437d04c6f.zip
Combine the settings for scrollbar on/off and its position into one with three possible values
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22425 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus/display_menu.c')
-rw-r--r--apps/menus/display_menu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/menus/display_menu.c b/apps/menus/display_menu.c
index a98a3d51b0..24e36e5fca 100644
--- a/apps/menus/display_menu.c
+++ b/apps/menus/display_menu.c
@@ -321,7 +321,6 @@ static int statusbar_callback(int action,const struct menu_item_ex *this_item)
}
MENUITEM_SETTING(scrollbar_item, &global_settings.scrollbar, NULL);
MENUITEM_SETTING(scrollbar_width, &global_settings.scrollbar_width, NULL);
-MENUITEM_SETTING(scrollbar_position, &global_settings.scrollbar_position, NULL);
MENUITEM_SETTING(statusbar, &global_settings.statusbar, statusbar_callback);
#ifdef HAVE_REMOTE_LCD
MENUITEM_SETTING(remote_statusbar, &global_settings.remote_statusbar, statusbar_callback);
@@ -332,7 +331,7 @@ MENUITEM_SETTING(buttonbar, &global_settings.buttonbar, NULL);
MENUITEM_SETTING(volume_type, &global_settings.volume_type, NULL);
MENUITEM_SETTING(battery_display, &global_settings.battery_display, NULL);
MAKE_MENU(bars_menu, ID2P(LANG_BARS_MENU), 0, Icon_NOICON,
- &scrollbar_item, &scrollbar_width, &scrollbar_position, &statusbar,
+ &scrollbar_item, &scrollbar_width, &statusbar,
#ifdef HAVE_REMOTE_LCD
&remote_statusbar,
#endif