freemyipod r826 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r825‎ | r826 | r827 >
Date:03:09, 4 December 2011
Author:theseven
Status:new
Tags:
Comment:
iPod Classic boot menu: Make right button behave like the center button in list choosers
Modified paths:
  • /apps/bootmenu-ipodclassic/toolchooser.c (modified) (history)
  • /libs/ui/settingchooser.c (modified) (history)

Diff [purge]

Index: apps/bootmenu-ipodclassic/toolchooser.c
@@ -190,7 +190,7 @@
191191 .buttonmap =
192192 {
193193 CHOOSER_ACTION_HANDLER_WHEEL_ACTION_SELECT,
194 - CHOOSER_ACTION_HANDLER_WHEEL_ACTION_NONE,
 194+ CHOOSER_ACTION_HANDLER_WHEEL_ACTION_SELECT,
195195 CHOOSER_ACTION_HANDLER_WHEEL_ACTION_CANCEL,
196196 CHOOSER_ACTION_HANDLER_WHEEL_ACTION_NEXT,
197197 CHOOSER_ACTION_HANDLER_WHEEL_ACTION_PREV
Index: libs/ui/settingchooser.c
@@ -46,6 +46,7 @@
4747 switch (which)
4848 {
4949 case 0:
 50+ case 1:
5051 switch (item->type)
5152 {
5253 case SETTINGCHOOSER_TYPE_INTEGER:
@@ -136,7 +137,7 @@
137138 .buttonmap =
138139 {
139140 CHOOSER_ACTION_HANDLER_WHEEL_ACTION_SELECT,
140 - CHOOSER_ACTION_HANDLER_WHEEL_ACTION_NONE,
 141+ CHOOSER_ACTION_HANDLER_WHEEL_ACTION_SELECT,
141142 CHOOSER_ACTION_HANDLER_WHEEL_ACTION_CANCEL,
142143 CHOOSER_ACTION_HANDLER_WHEEL_ACTION_NEXT,
143144 CHOOSER_ACTION_HANDLER_WHEEL_ACTION_PREV
@@ -155,7 +156,7 @@
156157 .buttonmap =
157158 {
158159 CHOOSER_ACTION_HANDLER_WHEEL_ACTION_SELECT,
159 - CHOOSER_ACTION_HANDLER_WHEEL_ACTION_NONE,
 160+ CHOOSER_ACTION_HANDLER_WHEEL_ACTION_SELECT,
160161 CHOOSER_ACTION_HANDLER_WHEEL_ACTION_CANCEL,
161162 CHOOSER_ACTION_HANDLER_WHEEL_ACTION_NEXT,
162163 CHOOSER_ACTION_HANDLER_WHEEL_ACTION_PREV