diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-26 22:23:20 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-26 22:23:20 +0200 |
commit | 78a12b161987b06ea3e1f81eaf6fd4bbee065d48 (patch) | |
tree | 8f172541a3394b94e43b45487cea4f6c8750bb36 | |
parent | 732008af40f975f98cc84598b4025e6194915718 (diff) | |
download | anastasis-gtk-78a12b161987b06ea3e1f81eaf6fd4bbee065d48.tar.gz anastasis-gtk-78a12b161987b06ea3e1f81eaf6fd4bbee065d48.tar.bz2 anastasis-gtk-78a12b161987b06ea3e1f81eaf6fd4bbee065d48.zip |
-update action handling
-rw-r--r-- | src/anastasis/anastasis-gtk_action.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/anastasis/anastasis-gtk_action.c b/src/anastasis/anastasis-gtk_action.c index 984fef5..3156415 100644 --- a/src/anastasis/anastasis-gtk_action.c +++ b/src/anastasis/anastasis-gtk_action.c @@ -3291,6 +3291,8 @@ AG_action_cb (void *cls, #endif if (TALER_EC_NONE != error_code) { + /* TODO: maybe also render 'detail' + if present in state? */ AG_error ("Error #%d: %s\n", (int) error_code, TALER_ErrorCode_get_hint (error_code)); @@ -3300,7 +3302,10 @@ AG_action_cb (void *cls, return; } } - else + if ( (NULL != json_object_get (response, + "backup_state")) || + (NULL != json_object_get (response, + "recovery_state")) ) { json_decref (AG_redux_state); AG_stop_long_action (); |