|
|
|
@ -114,7 +114,7 @@ char *yon_settings_configuration_get(char *id){
|
|
|
|
// init section
|
|
|
|
// init section
|
|
|
|
|
|
|
|
|
|
|
|
void __yon_on_ubl_settings_window_open();
|
|
|
|
void __yon_on_ubl_settings_window_open();
|
|
|
|
void yon_on_settings_window_accept(GtkWidget*,GdkEvent *,ubl_settings_window *window);
|
|
|
|
gboolean yon_on_settings_window_accept(GtkWidget*,GdkEvent *,ubl_settings_window *window);
|
|
|
|
|
|
|
|
|
|
|
|
void yon_ubl_settings_window_init(GtkMenu *menu){
|
|
|
|
void yon_ubl_settings_window_init(GtkMenu *menu){
|
|
|
|
if (!yon_window_config_check_init()) return;
|
|
|
|
if (!yon_window_config_check_init()) return;
|
|
|
|
@ -167,12 +167,13 @@ void __yon_on_ubl_settings_window_open(){
|
|
|
|
gtk_widget_show(window->window);
|
|
|
|
gtk_widget_show(window->window);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void yon_on_settings_window_accept(GtkWidget*,GdkEvent *,ubl_settings_window *window){
|
|
|
|
gboolean yon_on_settings_window_accept(GtkWidget*,GdkEvent *,ubl_settings_window *window){
|
|
|
|
dictionary *current;
|
|
|
|
dictionary *current;
|
|
|
|
for_dictionaries(current,__yon_configuration_custom_parameters){
|
|
|
|
for_dictionaries(current,__yon_configuration_custom_parameters){
|
|
|
|
struct yon_configuration_custom_parameter *parameter = ((struct yon_configuration_custom_parameter*)current->data);
|
|
|
|
struct yon_configuration_custom_parameter *parameter = ((struct yon_configuration_custom_parameter*)current->data);
|
|
|
|
parameter->custom_callbacks->custom_parameter_save_value_func(parameter->custom_parameter_root);
|
|
|
|
parameter->custom_callbacks->custom_parameter_save_value_func(parameter->custom_parameter_root);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void yon_configuration_window_add_custom_parameter(const char *id, struct yon_configuration_window_custom_parameter *custom_parameter_data){
|
|
|
|
void yon_configuration_window_add_custom_parameter(const char *id, struct yon_configuration_window_custom_parameter *custom_parameter_data){
|
|
|
|
|