diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-06-17 23:22:37 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-17 23:22:37 -0700 |
commit | b2b51c833a2c6f71fe411b5f99ccbf3107ef9677 (patch) | |
tree | db7a3bf3ddb6450a6c4514d684f4b03c9c97f4cf /core/save-git.c | |
parent | 2d5f023b5811ffde028d5c9b680cd99f9f1448f9 (diff) | |
download | subsurface-b2b51c833a2c6f71fe411b5f99ccbf3107ef9677.tar.gz |
QML UI: redesign the user notification
The old system of cloud access updates with fake percentages just wasn't
helpful. Even worse, it hid a lot important information from the user.
This should be more useful (but it will require that we localize the
messages sent from the git progress notifications and make them more
'user ready').
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/save-git.c')
-rw-r--r-- | core/save-git.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/save-git.c b/core/save-git.c index 6916dec33..8f4e4ff0b 100644 --- a/core/save-git.c +++ b/core/save-git.c @@ -936,7 +936,7 @@ static int create_git_tree(git_repository *repo, struct dir *root, bool select_o struct dive *dive; dive_trip_t *trip; - git_storage_update_progress(false, "start create git tree"); + git_storage_update_progress("start create git tree"); save_settings(repo, root); save_divesites(repo, root); @@ -945,7 +945,7 @@ static int create_git_tree(git_repository *repo, struct dir *root, bool select_o trip->index = 0; /* save the dives */ - git_storage_update_progress(false, "start saving dives"); + git_storage_update_progress("start saving dives"); for_each_dive(i, dive) { struct tm tm; struct dir *tree; @@ -978,7 +978,7 @@ static int create_git_tree(git_repository *repo, struct dir *root, bool select_o save_one_dive(repo, tree, dive, &tm, cached_ok); } - git_storage_update_progress(false, "done creating git tree"); + git_storage_update_progress("done creating git tree"); return 0; } @@ -1209,7 +1209,7 @@ int do_git_save(git_repository *repo, const char *branch, const char *remote, bo fprintf(stderr, "git storage: do git save\n"); if (!create_empty) // so we are actually saving the dives - git_storage_update_progress(false, "start git save"); + git_storage_update_progress("start git save"); /* * Check if we can do the cached writes - we need to |