gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis-gtk] branch master updated: fix auto-focus


From: gnunet
Subject: [taler-anastasis-gtk] branch master updated: fix auto-focus
Date: Wed, 14 Jul 2021 12:24:28 +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 e78e484  fix auto-focus
e78e484 is described below

commit e78e4840b86f28a05d7075d77f61324fd5161d39
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Jul 14 12:24:26 2021 +0200

    fix auto-focus
---
 src/anastasis/anastasis-gtk_action.c | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/anastasis/anastasis-gtk_action.c 
b/src/anastasis/anastasis-gtk_action.c
index 7d8c0f5..9f4cdd6 100644
--- a/src/anastasis/anastasis-gtk_action.c
+++ b/src/anastasis/anastasis-gtk_action.c
@@ -2052,14 +2052,6 @@ action_secret_selecting (void)
     AG_show ("anastasis_gtk_select_secret_frame");
     AG_show ("anastasis_gtk_main_window_prev_button");
     AG_hide ("anastasis_gtk_main_window_quit_button");
-    {
-      GtkWidget *ge;
-
-      ge = GTK_WIDGET (GCG_get_main_window_object (
-                         "anastasis_gtk_provider_url_entry"));
-      if (0 && ! gtk_widget_has_focus (ge))
-        gtk_widget_grab_focus (ge);
-    }
     return;
   }
   else
@@ -2115,6 +2107,15 @@ action_secret_selecting (void)
       update_entry ("anastasis_gtk_provider_url_entry",
                     provider_url);
   }
+  else
+  {
+    GtkWidget *ge;
+
+    ge = GTK_WIDGET (GCG_get_main_window_object (
+                       "anastasis_gtk_provider_url_entry"));
+    if (! gtk_widget_has_focus (ge))
+      gtk_widget_grab_focus (ge);
+  }
   {
     json_t *rd;
     const char *sn;

-- 
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]