Skip to content

Commit

Permalink
Merge pull request #3846 from DimitarCC/two-line-mode-patch1
Browse files Browse the repository at this point in the history
[Fixed] Missing lines in UsageConfig
  • Loading branch information
ims21 authored Nov 24, 2023
2 parents e8234f4 + 521b880 commit 326f267
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/python/Components/UsageConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,12 @@ def alternativeNumberModeChange(configElement):
("keep", _("Keep service")),
("reverseB", _("Reverse bouquet buttons")),
("keep reverseB", _("Keep service") + " + " + _("Reverse bouquet buttons"))])

config.usage.servicenum_fontsize = ConfigSelectionNumber(default=0, stepwidth=1, min=-8, max=10, wraparound=True)
config.usage.servicename_fontsize = ConfigSelectionNumber(default=0, stepwidth=1, min=-8, max=10, wraparound=True)
config.usage.serviceinfo_fontsize = ConfigSelectionNumber(default=0, stepwidth=1, min=-8, max=10, wraparound=True)

choices = [(0, _("Use skin default"))] + [(i, _("%d") % i) for i in range(5, 41)]
choicelist = [(0, _("Use skin default"))] + [(i, _("%d") % i) for i in range(5, 41)]
config.usage.servicelist_number_of_services = ConfigSelection(default=0, choices=choicelist)
config.usage.servicelist_number_of_services.addNotifier(refreshServiceList)

Expand Down

0 comments on commit 326f267

Please sign in to comment.