diff options
author | Kevin Ferrare <kevin@rockbox.org> | 2005-11-16 15:12:15 +0000 |
---|---|---|
committer | Kevin Ferrare <kevin@rockbox.org> | 2005-11-16 15:12:15 +0000 |
commit | e991beed6df8700b41796c4c14ef786f45fb54c5 (patch) | |
tree | 63543693276236f18a91c3de87e2353625eb85dc /apps/bookmark.c | |
parent | 76b75efa060b55bc7cbf66bae3401af57d907440 (diff) | |
download | rockbox-e991beed6df8700b41796c4c14ef786f45fb54c5.tar.gz rockbox-e991beed6df8700b41796c4c14ef786f45fb54c5.zip |
replaced all the splash calls by gui_sync_splash, added some missing remote key in the playlist viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7909 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/bookmark.c')
-rw-r--r-- | apps/bookmark.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c index 593bfe98cb..788aebe582 100644 --- a/apps/bookmark.c +++ b/apps/bookmark.c | |||
@@ -48,7 +48,7 @@ | |||
48 | #include "talk.h" | 48 | #include "talk.h" |
49 | #include "misc.h" | 49 | #include "misc.h" |
50 | #include "abrepeat.h" | 50 | #include "abrepeat.h" |
51 | 51 | #include "splash.h" | |
52 | #define MAX_BOOKMARKS 10 | 52 | #define MAX_BOOKMARKS 10 |
53 | #define MAX_BOOKMARK_SIZE 350 | 53 | #define MAX_BOOKMARK_SIZE 350 |
54 | #define RECENT_BOOKMARK_FILE ROCKBOX_DIR "/most-recent.bmark" | 54 | #define RECENT_BOOKMARK_FILE ROCKBOX_DIR "/most-recent.bmark" |
@@ -283,9 +283,9 @@ static bool write_bookmark(bool create_bookmark_file) | |||
283 | } | 283 | } |
284 | 284 | ||
285 | if (success) | 285 | if (success) |
286 | splash(HZ, true, str(LANG_BOOKMARK_CREATE_SUCCESS)); | 286 | gui_syncsplash(HZ, true, str(LANG_BOOKMARK_CREATE_SUCCESS)); |
287 | else | 287 | else |
288 | splash(HZ, true, str(LANG_BOOKMARK_CREATE_FAILURE)); | 288 | gui_syncsplash(HZ, true, str(LANG_BOOKMARK_CREATE_FAILURE)); |
289 | 289 | ||
290 | return true; | 290 | return true; |
291 | } | 291 | } |
@@ -621,7 +621,7 @@ static char* select_bookmark(const char* bookmark_file_name) | |||
621 | /* if there were no bookmarks in the file, delete the file and exit. */ | 621 | /* if there were no bookmarks in the file, delete the file and exit. */ |
622 | if(bookmark_id <= 0) | 622 | if(bookmark_id <= 0) |
623 | { | 623 | { |
624 | splash(HZ, true, str(LANG_BOOKMARK_LOAD_EMPTY)); | 624 | gui_syncsplash(HZ, true, str(LANG_BOOKMARK_LOAD_EMPTY)); |
625 | remove(bookmark_file_name); | 625 | remove(bookmark_file_name); |
626 | return NULL; | 626 | return NULL; |
627 | } | 627 | } |