|
|
|
|
@ -285,6 +285,7 @@ void yon_terminal_integrated_start_shell(GtkWidget *terminal, char* command, voi
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int yon_window_config_load(char *path){
|
|
|
|
|
check_window_config_setup{
|
|
|
|
|
if (!access(path,0)){
|
|
|
|
|
__yon_window_config_file = g_key_file_new();
|
|
|
|
|
__yon_window_config_path=yon_char_new(path);
|
|
|
|
|
@ -337,10 +338,10 @@ void yon_terminal_integrated_start_shell(GtkWidget *terminal, char* command, voi
|
|
|
|
|
pthread_t tid;
|
|
|
|
|
pthread_create(&tid,NULL,(void *)_yon_maximize,NULL);
|
|
|
|
|
return 1;
|
|
|
|
|
} else {
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void yon_window_config_apply(){
|
|
|
|
|
dictionary *dict=NULL;
|
|
|
|
|
@ -406,6 +407,7 @@ void yon_terminal_integrated_start_shell(GtkWidget *terminal, char* command, voi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int yon_window_config_get_parameter(char *section, char *config_parameter, void *return_value, enum YON_TYPE type){
|
|
|
|
|
check_window_config_setup{
|
|
|
|
|
GError *err=NULL;
|
|
|
|
|
switch (type){
|
|
|
|
|
case YON_TYPE_BOOLEAN:
|
|
|
|
|
@ -429,6 +431,7 @@ void yon_terminal_integrated_start_shell(GtkWidget *terminal, char* command, voi
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void yon_on_window_config_custom_window_destroy(GtkWindow *window, GdkEvent* event, char *window_name){
|
|
|
|
|
if (!gtk_window_is_maximized(window)){
|
|
|
|
|
|