diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-11-01 21:45:01 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-11-01 21:45:01 +0000 |
commit | e702e5dbf8f0d6e6d2938db60af6a6d4af806342 (patch) | |
tree | 8ce274e93fe8882fc25ed61ce5890cbd76c20e5c /apps/gui/skin_engine | |
parent | cb8527d073cccbf044330c60d41aec50ca2536b5 (diff) | |
download | rockbox-e702e5dbf8f0d6e6d2938db60af6a6d4af806342.tar.gz rockbox-e702e5dbf8f0d6e6d2938db60af6a6d4af806342.zip |
revert that last checkin... something better is coming
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23473 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine')
-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 |
3 files changed, 0 insertions, 8 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. */ |