/* Update the requested action field of the dialog. This routine is called by GTK when either of the two radio buttons in the dialog is clicked. */
static void decode_update_action(GtkWidget *w _U_, gpointer user_data)
/* Update the requested action field of the dialog. This routine is called by GTK when either of the two radio buttons in the dialog is clicked. */
static void decode_update_action(GtkWidget *w _U_, gpointer user_data)
{
    GSList   *tmp;
    gboolean  enable;
    requested_action = (enum action_type)GPOINTER_TO_INT(user_data);
    enable = (requested_action == E_DECODE_YES);
    for (tmp = decode_dimmable; tmp; tmp = g_slist_next(tmp)) {
        gtk_widget_set_sensitive((GtkWidget *)tmp->data, enable);
    }
}