WIP: the btt_toggle_STATE_RULES_DATA switches between : 'rules', 'state' and 'analyse'
This commit is contained in:
parent
c8e587137a
commit
0706aac1d3
12
callback.c
12
callback.c
|
@ -190,12 +190,14 @@ void on_toggle_STATE_RULES_DATA (GtkWidget *btt_toggle_STATE_RULES_DATA, gpointe
|
|||
// if (! strcmp (current_label, "rules")) printf ("callback.c (line 190) - strcomp +\n");
|
||||
// else printf ("callback.c (line 191) - strcomp -\n");
|
||||
|
||||
if (! strcmp (current_label, "rules")) gtk_button_set_label (GTK_BUTTON (btt_toggle_STATE_RULES_DATA), "state");
|
||||
else gtk_button_set_label (GTK_BUTTON (btt_toggle_STATE_RULES_DATA), "rules");
|
||||
|
||||
// if (! strcmp (current_label, "rules")) gtk_button_set_label (GTK_BUTTON (btt_toggle_STATE_RULES_DATA), "state");
|
||||
// else if (! strcmp (current_label, " state ")) gtk_button_set_label (GTK_BUTTON (btt_toggle_STATE_RULES_DATA), "analyse");
|
||||
// else if (! strcmp (current_label, "analyse")) gtk_button_set_label (GTK_BUTTON (btt_toggle_STATE_RULES_DATA), " rules ");
|
||||
// else gtk_button_set_label (GTK_BUTTON (btt_toggle_STATE_RULES_DATA), "rules");
|
||||
|
||||
if (0) printf ("callback.c (line 191) - current_label = %s\n", current_label);
|
||||
|
||||
if (! strcmp (current_label, " rules ")) gtk_button_set_label (GTK_BUTTON (btt_toggle_STATE_RULES_DATA), " state ");
|
||||
else if (! strcmp (current_label, " state ")) gtk_button_set_label (GTK_BUTTON (btt_toggle_STATE_RULES_DATA), "analyse");
|
||||
else gtk_button_set_label (GTK_BUTTON (btt_toggle_STATE_RULES_DATA), " rules ");
|
||||
|
||||
|
||||
// gtk_button_set_label (GTK_BUTTON (btt_toggle_STATE_RULES_DATA), "state");
|
||||
|
|
Loading…
Reference in New Issue