|
|
|
@ -446,6 +446,7 @@ gboolean yon_save_window_destroy_if_empty(template_saving_window *window){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void yon_save_window_set_status(template_saving_window *window,char *path,YON_CONFIG_TYPE type){
|
|
|
|
void yon_save_window_set_status(template_saving_window *window,char *path,YON_CONFIG_TYPE type){
|
|
|
|
|
|
|
|
textdomain(template_ui_LocaleName);
|
|
|
|
window->type=type;
|
|
|
|
window->type=type;
|
|
|
|
window->custom_save_path=path;
|
|
|
|
window->custom_save_path=path;
|
|
|
|
if (type==YON_CONFIG_BOTH){
|
|
|
|
if (type==YON_CONFIG_BOTH){
|
|
|
|
@ -458,6 +459,7 @@ void yon_save_window_set_status(template_saving_window *window,char *path,YON_CO
|
|
|
|
} else if (type==YON_CONFIG_CUSTOM){
|
|
|
|
} else if (type==YON_CONFIG_CUSTOM){
|
|
|
|
yon_ubl_status_box_spawn_infinite(GTK_CONTAINER(window->StatusBox),"savingTarget",SAVING_CUSTOM_STATE_LABEL(path),BACKGROUND_IMAGE_INFO_TYPE);
|
|
|
|
yon_ubl_status_box_spawn_infinite(GTK_CONTAINER(window->StatusBox),"savingTarget",SAVING_CUSTOM_STATE_LABEL(path),BACKGROUND_IMAGE_INFO_TYPE);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
textdomain(template_app_information.app_locale);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
template_saving_window *yon_save_proceed(char *path,YON_CONFIG_TYPE type, ...){
|
|
|
|
template_saving_window *yon_save_proceed(char *path,YON_CONFIG_TYPE type, ...){
|
|
|
|
@ -523,7 +525,5 @@ template_saving_window *yon_saving_window_new(){
|
|
|
|
g_signal_connect(G_OBJECT(window->CancelButton),"clicked",G_CALLBACK(on_subwindow_close),NULL);
|
|
|
|
g_signal_connect(G_OBJECT(window->CancelButton),"clicked",G_CALLBACK(on_subwindow_close),NULL);
|
|
|
|
g_signal_connect(G_OBJECT(window->SaveButton),"clicked", G_CALLBACK(on_save_parameters),window);
|
|
|
|
g_signal_connect(G_OBJECT(window->SaveButton),"clicked", G_CALLBACK(on_save_parameters),window);
|
|
|
|
g_signal_connect(G_OBJECT(window->ToggleCell),"toggled", G_CALLBACK(on_save_window_parameter_switched),window);
|
|
|
|
g_signal_connect(G_OBJECT(window->ToggleCell),"toggled", G_CALLBACK(on_save_window_parameter_switched),window);
|
|
|
|
textdomain(template_ui_LocaleName);
|
|
|
|
|
|
|
|
textdomain(template_app_information.app_locale);
|
|
|
|
|
|
|
|
return window;
|
|
|
|
return window;
|
|
|
|
}
|
|
|
|
}
|