[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis-gtk] branch master updated: finish dialog to import cor
From: |
gnunet |
Subject: |
[taler-anastasis-gtk] branch master updated: finish dialog to import core secret from file |
Date: |
Mon, 15 Mar 2021 22:25:29 +0100 |
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 038f3b7 finish dialog to import core secret from file
038f3b7 is described below
commit 038f3b77576e6c4a6d8da31772f79b8334a674c8
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Mon Mar 15 22:24:19 2021 +0100
finish dialog to import core secret from file
---
src/anastasis/anastasis-gtk_action.c | 12 ++++--------
src/anastasis/anastasis-gtk_handle-secret-buttons.c | 2 +-
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/src/anastasis/anastasis-gtk_action.c
b/src/anastasis/anastasis-gtk_action.c
index c42b5e2..592549d 100644
--- a/src/anastasis/anastasis-gtk_action.c
+++ b/src/anastasis/anastasis-gtk_action.c
@@ -479,9 +479,6 @@ activate_by_method (json_t *methods)
GNUNET_JSON_spec_end ()
};
- json_dumpf (method,
- stderr,
- JSON_INDENT (2));
if (GNUNET_OK !=
GNUNET_JSON_parse (method,
spec,
@@ -854,11 +851,10 @@ action_secret_editing (void)
AG_hide_all_frames ();
entry = GTK_ENTRY (GCG_get_main_window_object (
"anastasis_gtk_enter_secret_entry"));
- GNUNET_assert (GNUNET_OK ==
- GNUNET_JSON_parse (redux_state,
- spec,
- NULL, NULL));
- if ( (NULL != secret) &&
+ if ( (GNUNET_OK ==
+ GNUNET_JSON_parse (redux_state,
+ spec,
+ NULL, NULL)) &&
(0 < strlen (secret)) )
{
gtk_entry_set_text (entry,
diff --git a/src/anastasis/anastasis-gtk_handle-secret-buttons.c
b/src/anastasis/anastasis-gtk_handle-secret-buttons.c
index f48996f..37e8321 100644
--- a/src/anastasis/anastasis-gtk_handle-secret-buttons.c
+++ b/src/anastasis/anastasis-gtk_handle-secret-buttons.c
@@ -47,7 +47,7 @@ open_secret_dialog_response_cb (GtkDialog *dialog,
size_t data_size;
void *data;
- if (GTK_RESPONSE_ACCEPT != response_id)
+ if (GTK_RESPONSE_OK != response_id)
{
gtk_widget_destroy (GTK_WIDGET (dialog));
g_object_unref (G_OBJECT (builder));
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-anastasis-gtk] branch master updated: finish dialog to import core secret from file,
gnunet <=