transtreamproxy updated.
[vuplus_openvuplus] / meta-openvuplus / recipes-vuplus / enigma2 / enigma2 / enigma2_vuplus_textvfd.patch
1 diff --git a/lib/python/Screens/ChoiceBox.py b/lib/python/Screens/ChoiceBox.py
2 index 7c8b142..39e70d4 100644
3 --- a/lib/python/Screens/ChoiceBox.py
4 +++ b/lib/python/Screens/ChoiceBox.py
5 @@ -31,7 +31,9 @@ class ChoiceBox(Screen):
6                         pos += 1
7                 self["list"] = ChoiceList(list = self.list, selection = selection)
8                 self["summary_list"] = StaticText()
9 -               self.updateSummary()
10 +#      ikseong
11 +#              self.updateSummary()
12 +               self.updateSummary(selection)
13                                 
14                 self["actions"] = NumberActionMap(["WizardActions", "InputActions", "ColorActions", "DirectionActions"], 
15                 {
16 @@ -120,14 +122,21 @@ class ChoiceBox(Screen):
17         def updateSummary(self, curpos=0):
18                 pos = 0
19                 summarytext = ""
20 +#      ikseong         
21 +#              for entry in self.summarylist:
22 +#                      if pos > curpos-2 and pos < curpos+5:
23 +#                              if pos == curpos:
24 +#                                      summarytext += ">"
25 +#                              else:
26 +#                                      summarytext += entry[0]
27 +#                              summarytext += ' ' + entry[1] + '\n'
28 +#                      pos += 1
29                 for entry in self.summarylist:
30 -                       if pos > curpos-2 and pos < curpos+5:
31 -                               if pos == curpos:
32 -                                       summarytext += ">"
33 -                               else:
34 -                                       summarytext += entry[0]
35 -                               summarytext += ' ' + entry[1] + '\n'
36 +                       if pos == curpos:
37 +                               summarytext += entry[1] +'\n'
38 +                               break
39                         pos += 1
40 +#
41                 self["summary_list"].setText(summarytext)
42  
43         def cancel(self):