diff options
Diffstat (limited to 'apps/menus/display_menu.c')
-rw-r--r-- | apps/menus/display_menu.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/apps/menus/display_menu.c b/apps/menus/display_menu.c index b228095bb3..d7993fdbda 100644 --- a/apps/menus/display_menu.c +++ b/apps/menus/display_menu.c | |||
@@ -335,22 +335,7 @@ MENUITEM_SETTING(list_accel_wait, &global_settings.list_accel_wait, NULL); | |||
335 | MENUITEM_SETTING(offset_out_of_view, &global_settings.offset_out_of_view, NULL); | 335 | MENUITEM_SETTING(offset_out_of_view, &global_settings.offset_out_of_view, NULL); |
336 | MENUITEM_SETTING(screen_scroll_step, &global_settings.screen_scroll_step, NULL); | 336 | MENUITEM_SETTING(screen_scroll_step, &global_settings.screen_scroll_step, NULL); |
337 | MENUITEM_SETTING(scroll_paginated, &global_settings.scroll_paginated, NULL); | 337 | MENUITEM_SETTING(scroll_paginated, &global_settings.scroll_paginated, NULL); |
338 | 338 | MENUITEM_SETTING(list_wraparound, &global_settings.list_wraparound, NULL); | |
339 | static int listwraparound_callback(int action, | ||
340 | const struct menu_item_ex *this_item, | ||
341 | struct gui_synclist *this_list) | ||
342 | { | ||
343 | (void)this_item; | ||
344 | switch (action) | ||
345 | { | ||
346 | case ACTION_EXIT_MENUITEM: | ||
347 | gui_synclist_init_display_settings(this_list); | ||
348 | break; | ||
349 | } | ||
350 | return action; | ||
351 | } | ||
352 | |||
353 | MENUITEM_SETTING(list_wraparound, &global_settings.list_wraparound, listwraparound_callback); | ||
354 | MENUITEM_SETTING(list_order, &global_settings.list_order, NULL); | 339 | MENUITEM_SETTING(list_order, &global_settings.list_order, NULL); |
355 | 340 | ||
356 | MAKE_MENU(scroll_settings_menu, ID2P(LANG_SCROLL_MENU), 0, Icon_NOICON, | 341 | MAKE_MENU(scroll_settings_menu, ID2P(LANG_SCROLL_MENU), 0, Icon_NOICON, |