From: Chef Date: Sun, 22 Aug 2021 11:00:04 +0000 (+0200) Subject: Manually implanted John's updates X-Git-Url: https://git.rkrishnan.org/Site/Content/$sch_link?a=commitdiff_plain;h=b05b12f9864b63eab4e0e84202b7471382e9e7f3;p=pihpsdr.git Manually implanted John's updates --- diff --git a/action_dialog.c b/action_dialog.c index f60063d..0e4cd48 100644 --- a/action_dialog.c +++ b/action_dialog.c @@ -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 15b031b..cd13802 100644 --- 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 (); }