|
|
|
@ -1674,10 +1674,8 @@ mirror_configure_window *yon_mirror_configure_window_new(){
|
|
|
|
void on_mirror_type_changed(GtkComboBox *self, mirror_add_window *window){
|
|
|
|
void on_mirror_type_changed(GtkComboBox *self, mirror_add_window *window){
|
|
|
|
int active = gtk_combo_box_get_active(self);
|
|
|
|
int active = gtk_combo_box_get_active(self);
|
|
|
|
if (active == 2){
|
|
|
|
if (active == 2){
|
|
|
|
gtk_widget_set_sensitive(window->AddButton,1);
|
|
|
|
|
|
|
|
gtk_widget_set_sensitive(window->TypeButton,1);
|
|
|
|
gtk_widget_set_sensitive(window->TypeButton,1);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
gtk_widget_set_sensitive(window->AddButton,0);
|
|
|
|
|
|
|
|
gtk_widget_set_sensitive(window->TypeButton,0);
|
|
|
|
gtk_widget_set_sensitive(window->TypeButton,0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|