diff --git a/source/ubl-settings-video.c b/source/ubl-settings-video.c index b979c50..98d2b3f 100644 --- a/source/ubl-settings-video.c +++ b/source/ubl-settings-video.c @@ -72,8 +72,6 @@ void on_monitor_config_save(GtkWidget *self, monitor_edit_window *window){ } void on_terminal_done(GtkWidget *terminal, int size, widgets_dict *widgets){ - char *text=vte_terminal_get_text_range(VTE_TERMINAL(terminal),0,0,0,10,NULL,NULL,NULL); - printf("\"%s\"\n",text); gtk_widget_destroy(terminal); } @@ -100,7 +98,6 @@ static void child_ready(VteTerminal *terminal, GPid pid, GError *error, gpointer void on_terminal_check_progress(VteTerminal *terminal, widgets_dict *widgets){ char *text = vte_terminal_get_text(terminal,NULL,NULL,NULL); - // printf("%d - %s\n",rows, text); gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(widgets->TerminalInfoLabel),(double)yon_char_find_count(text,"::")/4); } @@ -377,11 +374,9 @@ void on_configuration_save_local(GtkWidget *self, widgets_dict *widgets) str=yon_configuration_get_save_command(save_drivers_local_command); delstr=yon_configuration_get_remove_command(remove_drivers_local_command); if (delstr){ - printf("%s\n\n",delstr); yon_config_save(delstr); } if (str){ - printf("%s\n\n",str); yon_config_save(str); videoconfig.status_render.text_to_render=LOCAL_SAVE_SUCCESS; @@ -409,11 +404,9 @@ void on_configuration_save_global(GtkWidget *self, widgets_dict *widgets) str=yon_configuration_get_save_command(save_drivers_global_command); delstr=yon_configuration_get_remove_command(remove_drivers_global_command); if (delstr){ - printf("%s\n\n",delstr); yon_config_save(delstr); } if (str){ - printf("%s\n\n",str); yon_config_save(str); videoconfig.status_render.text_to_render=LOCAL_SAVE_SUCCESS; @@ -1516,8 +1509,6 @@ int main(int argc, char *argv[]) videoconfig.lock_save_global=-1; videoconfig.lock_save_local=-1; local = setlocale(LC_ALL, ""); - for (int i=0;i