]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
Manually implanted John's updates
authorChef <chwu@vpn-ipv4-0508.triple-a.uni-kl.de>
Sun, 22 Aug 2021 11:00:04 +0000 (13:00 +0200)
committerChef <chwu@vpn-ipv4-0508.triple-a.uni-kl.de>
Sun, 22 Aug 2021 11:00:04 +0000 (13:00 +0200)
action_dialog.c
main.c

index f60063d685ced1b704e991c2f0d997a32bf81629..0e4cd484da669c62259d956228845059964c65b0 100644 (file)
@@ -18,7 +18,7 @@ static int action;
 static void action_select_cb(GtkWidget *widget,gpointer data) {
   CHOICE *choice=(CHOICE *)data;
   g_signal_handler_block(G_OBJECT(previous_button),previous_signal_id);
-  gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(previous_button),FALSE);
+  gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(previous_button),widget==previous_button);
   g_signal_handler_unblock(G_OBJECT(previous_button),previous_signal_id);
   previous_button=widget;
   previous_signal_id=choice->signal_id;
diff --git a/main.c b/main.c
index 15b031b218d2b0c3644adcc9bc89a76d86feb451..cd13802f7f63da0bf999f0a1b843fa407da085ab 100644 (file)
--- a/main.c
+++ b/main.c
@@ -87,7 +87,7 @@ static GtkWidget *status;
 void status_text(char *text) {
   //fprintf(stderr,"splash_status: %s\n",text);
   gtk_label_set_text(GTK_LABEL(status),text);
-  usleep(10000);
+  usleep(100000);
   while (gtk_events_pending ())
     gtk_main_iteration ();
 }