gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-anastasis-gtk] branch master updated: -update action handling


From: gnunet
Subject: [taler-anastasis-gtk] branch master updated: -update action handling
Date: Thu, 26 Aug 2021 22:23:22 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository anastasis-gtk.

The following commit(s) were added to refs/heads/master by this push:
     new 78a12b1  -update action handling
78a12b1 is described below

commit 78a12b161987b06ea3e1f81eaf6fd4bbee065d48
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Aug 26 22:23:20 2021 +0200

    -update action handling
---
 src/anastasis/anastasis-gtk_action.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

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 ();

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]