|
|
|
|
@ -1960,6 +1960,19 @@ void on_user_info(GtkWidget *,main_window *widgets){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void on_config_update(GtkWidget *, main_window *widgets){
|
|
|
|
|
|
|
|
|
|
int size;
|
|
|
|
|
config_str parameters = yon_config_get_save_parameters(&size);
|
|
|
|
|
if (size){
|
|
|
|
|
dialog_confirmation_data *data = yon_confirmation_dialog_data_new();
|
|
|
|
|
|
|
|
|
|
data->action_text = UPDATE_CONFIRMATION_LABEL;
|
|
|
|
|
data->title = UPDATE_LABEL;
|
|
|
|
|
if (yon_confirmation_dialog_call(widgets->Window,data)!=GTK_RESPONSE_ACCEPT)
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
yon_char_parsed_free(parameters,size);
|
|
|
|
|
}
|
|
|
|
|
if (main_config.load_mode==YON_CONFIG_GLOBAL){
|
|
|
|
|
on_config_global_load(NULL,widgets);
|
|
|
|
|
} else {
|
|
|
|
|
|