|
|
|
@ -1638,7 +1638,6 @@ void yon_terminal_integrated_launch(GtkWidget *place_to_show, char* command, voi
|
|
|
|
vte_terminal_set_pty(VTE_TERMINAL(terminal),pty);
|
|
|
|
vte_terminal_set_pty(VTE_TERMINAL(terminal),pty);
|
|
|
|
gtk_container_add(GTK_CONTAINER(place_to_show),terminal);
|
|
|
|
gtk_container_add(GTK_CONTAINER(place_to_show),terminal);
|
|
|
|
char *install_command=yon_char_unite("clear;tput cup 0 0 && tput ed; ",command," ; sleep 5;exit 0","\n",NULL);
|
|
|
|
char *install_command=yon_char_unite("clear;tput cup 0 0 && tput ed; ",command," ; sleep 5;exit 0","\n",NULL);
|
|
|
|
printf("%s\n",install_command);
|
|
|
|
|
|
|
|
if(endwork_function)
|
|
|
|
if(endwork_function)
|
|
|
|
g_signal_connect(G_OBJECT(terminal), "child-exited", G_CALLBACK(endwork_function), endwork_function_argument);
|
|
|
|
g_signal_connect(G_OBJECT(terminal), "child-exited", G_CALLBACK(endwork_function), endwork_function_argument);
|
|
|
|
vte_terminal_spawn_async(VTE_TERMINAL(terminal),
|
|
|
|
vte_terminal_spawn_async(VTE_TERMINAL(terminal),
|
|
|
|
@ -2277,7 +2276,6 @@ void _yon_ubl_status_list_store_highlight_incorrect(GtkWidget **widget_pack){
|
|
|
|
rgba2.blue=0;
|
|
|
|
rgba2.blue=0;
|
|
|
|
rgba2.green=0;
|
|
|
|
rgba2.green=0;
|
|
|
|
rgba2.red=0;
|
|
|
|
rgba2.red=0;
|
|
|
|
printf("%s\n",gdk_rgba_to_string(&rgba));
|
|
|
|
|
|
|
|
gtk_list_store_set(list,iter,1,gdk_rgba_to_string(&rgba2),2,gdk_rgba_to_string(&rgba),-1);
|
|
|
|
gtk_list_store_set(list,iter,1,gdk_rgba_to_string(&rgba2),2,gdk_rgba_to_string(&rgba),-1);
|
|
|
|
sleep(5);
|
|
|
|
sleep(5);
|
|
|
|
gtk_list_store_set(list,iter,1,NULL,2,NULL,-1);
|
|
|
|
gtk_list_store_set(list,iter,1,NULL,2,NULL,-1);
|
|
|
|
|