|
|
|
@ -299,6 +299,11 @@ void device_remove() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void device_update(){
|
|
|
|
|
device_device_config_free(get_device_vec());
|
|
|
|
|
vector_init(get_device_vec());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void user_remove() {
|
|
|
|
|
if (note_selected == 0) {
|
|
|
|
|
GtkTreeIter iter;
|
|
|
|
@ -469,6 +474,7 @@ void control_event(main_window* _config_main_gui, custom_window* _config_custom_
|
|
|
|
|
g_signal_connect(G_OBJECT(_config_custom_gui->device.btnEdit), "clicked", G_CALLBACK(wrapper_edit_view_device_show), glade_path);
|
|
|
|
|
g_signal_connect(G_OBJECT(_config_custom_gui->device.btnAdd), "clicked", G_CALLBACK(wrapper_add_view_device_show), glade_path);
|
|
|
|
|
g_signal_connect(G_OBJECT(_config_custom_gui->device.btnDel),"clicked",G_CALLBACK(device_remove), glade_path);
|
|
|
|
|
g_signal_connect(G_OBJECT(_config_custom_gui->device.Update),"clicked",G_CALLBACK(device_update), NULL);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|