Permalink
Browse files

Fix issues with classic theme

  • Loading branch information...
jyrkive committed Nov 26, 2018
1 parent 4c4b91a commit f78887fb1665cf5ab82d7b08c50fb583b2605e7f
Showing with 21 additions and 11 deletions.
  1. +21 −11 data/themes/classic.cfg
@@ -260,15 +260,6 @@
xanchor=fixed
yanchor=fixed
[/label]
[label]
id=battery-icon
icon=themes/battery.png
text= _ "battery"
ref=battery-panel
rect="=+5,=+1,+25,+17"
xanchor=fixed
yanchor=fixed
[/label]

[status]
# the time of day image
@@ -352,8 +343,8 @@
[battery]
id=status-battery
font_size={DEFAULT_FONT_SMALL}
ref=battery-icon
rect="+4,=,+50,+16"
ref=battery-panel
rect="=+5,=+1,+70,+18"
xanchor=fixed
yanchor=fixed
prefix="" #wmllint: ignore
@@ -536,6 +527,25 @@
[/unit_status]
[/status]

# If the device has no battery, remove the battery charge indicator
# and move the timer to its position.
[no_battery]
[remove]
id=battery
[/remove]
[remove]
id=timeout-panel
[/remove]
[remove]
id=time-icon
[/remove]
[change]
id=report_countdown
ref=battery-panel
rect="=+5,=+1,+70,+18"
[/change]
[/no_battery]

{CLASSIC_REPLAY_THEME {DEFAULT_FONT_SMALL}}
[/resolution]

0 comments on commit f78887f

Please sign in to comment.