mirror of
https://github.com/tstellar/bygfoot.git
synced 2024-12-16 18:29:21 +01:00
Changes in gui trainings-camp to fix the count-bug
This commit is contained in:
parent
0cd098f990
commit
dc23309824
10
src/window.c
10
src/window.c
@ -971,9 +971,15 @@ window_show_training_camp(void)
|
|||||||
gtk_widget_set_sensitive (GTK_WIDGET(hs_camp_points), FALSE);
|
gtk_widget_set_sensitive (GTK_WIDGET(hs_camp_points), FALSE);
|
||||||
|
|
||||||
GdkColor color;
|
GdkColor color;
|
||||||
gtk_widget_modify_fg(GTK_WIDGET(hs_recreation), GTK_STATE_INSENSITIVE , NULL);
|
//gtk_widget_modify_fg(GTK_WIDGET(hs_recreation), GTK_STATE_INSENSITIVE , NULL);
|
||||||
gtk_widget_modify_bg(GTK_WIDGET(hs_recreation), GTK_STATE_NORMAL, NULL);
|
//gtk_widget_modify_fg(GTK_WIDGET(hs_training), GTK_STATE_INSENSITIVE , NULL);
|
||||||
|
//gtk_widget_modify_fg(GTK_WIDGET(hs_camp_points), GTK_STATE_INSENSITIVE , NULL);
|
||||||
|
//gtk_widget_modify_bg(GTK_WIDGET(hs_recreation), GTK_STATE_NORMAL, NULL);
|
||||||
gdk_color_parse("black", &color);
|
gdk_color_parse("black", &color);
|
||||||
gtk_widget_modify_fg(GTK_WIDGET(hs_recreation), GTK_STATE_INSENSITIVE , &color);
|
gtk_widget_modify_fg(GTK_WIDGET(hs_recreation), GTK_STATE_INSENSITIVE , &color);
|
||||||
|
gtk_widget_modify_fg(GTK_WIDGET(hs_training), GTK_STATE_INSENSITIVE , &color);
|
||||||
|
gtk_widget_modify_fg(GTK_WIDGET(hs_camp_points), GTK_STATE_INSENSITIVE , &color);
|
||||||
gtk_widget_modify_bg(GTK_WIDGET(hs_recreation), GTK_STATE_NORMAL, &color);
|
gtk_widget_modify_bg(GTK_WIDGET(hs_recreation), GTK_STATE_NORMAL, &color);
|
||||||
|
gtk_widget_modify_bg(GTK_WIDGET(hs_training), GTK_STATE_NORMAL, &color);
|
||||||
|
gtk_widget_modify_bg(GTK_WIDGET(hs_camp_points), GTK_STATE_NORMAL, &color);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user