diff options
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 1 | ||||
-rw-r--r-- | apps/gui/skin_engine/skin_tokens.c | 6 | ||||
-rw-r--r-- | apps/gui/skin_engine/skin_tokens.h | 1 | ||||
-rw-r--r-- | wps/classic_statusbar.sbs | 2 |
4 files changed, 1 insertions, 9 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index 26ccf47335..c05ebca45e 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c | |||
@@ -200,7 +200,6 @@ static const struct wps_tag all_tags[] = { | |||
200 | #endif | 200 | #endif |
201 | 201 | ||
202 | { WPS_TOKEN_RTC_PRESENT , "cc", WPS_REFRESH_STATIC, NULL }, | 202 | { WPS_TOKEN_RTC_PRESENT , "cc", WPS_REFRESH_STATIC, NULL }, |
203 | { WPS_TOKEN_RTC_24HR_SETTING_MODE, "cx", WPS_REFRESH_STATIC, NULL }, | ||
204 | { WPS_TOKEN_RTC_DAY_OF_MONTH, "cd", WPS_RTC_REFRESH, NULL }, | 203 | { WPS_TOKEN_RTC_DAY_OF_MONTH, "cd", WPS_RTC_REFRESH, NULL }, |
205 | { WPS_TOKEN_RTC_DAY_OF_MONTH_BLANK_PADDED,"ce", WPS_RTC_REFRESH, NULL }, | 204 | { WPS_TOKEN_RTC_DAY_OF_MONTH_BLANK_PADDED,"ce", WPS_RTC_REFRESH, NULL }, |
206 | { WPS_TOKEN_RTC_12HOUR_CFG, "cf", WPS_RTC_REFRESH, NULL }, | 205 | { WPS_TOKEN_RTC_12HOUR_CFG, "cf", WPS_RTC_REFRESH, NULL }, |
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c index 6dbceca906..46adbdc097 100644 --- a/apps/gui/skin_engine/skin_tokens.c +++ b/apps/gui/skin_engine/skin_tokens.c | |||
@@ -569,12 +569,6 @@ const char *get_token_value(struct gui_wps *gwps, | |||
569 | #else | 569 | #else |
570 | return NULL; | 570 | return NULL; |
571 | #endif | 571 | #endif |
572 | case WPS_TOKEN_RTC_24HR_SETTING_MODE: | ||
573 | #if CONFIG_RTC | ||
574 | return global_settings.timeformat?NULL:"z"; | ||
575 | #else | ||
576 | return NULL; | ||
577 | #endif | ||
578 | 572 | ||
579 | #if CONFIG_RTC | 573 | #if CONFIG_RTC |
580 | case WPS_TOKEN_RTC_12HOUR_CFG: | 574 | case WPS_TOKEN_RTC_12HOUR_CFG: |
diff --git a/apps/gui/skin_engine/skin_tokens.h b/apps/gui/skin_engine/skin_tokens.h index 5f35afc274..6d783551e6 100644 --- a/apps/gui/skin_engine/skin_tokens.h +++ b/apps/gui/skin_engine/skin_tokens.h | |||
@@ -62,7 +62,6 @@ enum wps_token_type { | |||
62 | /* Time */ | 62 | /* Time */ |
63 | 63 | ||
64 | WPS_TOKEN_RTC_PRESENT, | 64 | WPS_TOKEN_RTC_PRESENT, |
65 | WPS_TOKEN_RTC_24HR_SETTING_MODE, | ||
66 | 65 | ||
67 | /* The begin/end values allow us to know if a token is an RTC one. | 66 | /* The begin/end values allow us to know if a token is an RTC one. |
68 | New RTC tokens should be added between the markers. */ | 67 | New RTC tokens should be added between the markers. */ |
diff --git a/wps/classic_statusbar.sbs b/wps/classic_statusbar.sbs index c867672e4c..953b9a4a0e 100644 --- a/wps/classic_statusbar.sbs +++ b/wps/classic_statusbar.sbs | |||
@@ -63,7 +63,7 @@ | |||
63 | 63 | ||
64 | # Clock on RTC able targets, and disk access | 64 | # Clock on RTC able targets, and disk access |
65 | %V|-36|0|-6|8|0|-|-| # align on the right with room for 6 SYSFONT digits | 65 | %V|-36|0|-6|8|0|-|-| # align on the right with room for 6 SYSFONT digits |
66 | %?cc<%?ca<%?cx<%cH|%cI>:%cM|--:-->|> | 66 | %?cc<%?ca<%?St|time format|<%cH|%cI>:%cM|--:-->|> |
67 | # disk access "icon" | 67 | # disk access "icon" |
68 | %V|-6|0|-|8|0|-|-| # align on the right with room for 1 SYSFONT digit | 68 | %V|-6|0|-|8|0|-|-| # align on the right with room for 1 SYSFONT digit |
69 | %?lh<*|> | 69 | %?lh<*|> |