|
|
|
|
@ -558,7 +558,7 @@ return 0;
|
|
|
|
|
void on_process_log_view(GtkWidget *,main_window *widgets);
|
|
|
|
|
void on_process_log_view(GtkWidget *,main_window *widgets){
|
|
|
|
|
log_window *window = yon_log_window_new();
|
|
|
|
|
yon_gtk_window_setup(GTK_WINDOW(window->Window),GTK_WINDOW(widgets->MainWindow),LOG_VIEW_LABEL,icon_path,"log_viewer");
|
|
|
|
|
yon_gtk_window_setup(GTK_WINDOW(window->Window),NULL,LOG_VIEW_LABEL,icon_path,"log_viewer");
|
|
|
|
|
window->command = yon_char_new(short_log_path);
|
|
|
|
|
gdk_threads_add_timeout(500,(GSourceFunc)yon_read_log,window);
|
|
|
|
|
}
|
|
|
|
|
@ -566,7 +566,7 @@ void on_process_log_view(GtkWidget *,main_window *widgets){
|
|
|
|
|
void on_summary_log_view(GtkWidget *,main_window *widgets);
|
|
|
|
|
void on_summary_log_view(GtkWidget *,main_window *widgets){
|
|
|
|
|
log_window *window = yon_log_window_new();
|
|
|
|
|
yon_gtk_window_setup(GTK_WINDOW(window->Window),GTK_WINDOW(widgets->MainWindow),LOG_VIEW_LABEL,icon_path,"log_viewer");
|
|
|
|
|
yon_gtk_window_setup(GTK_WINDOW(window->Window),NULL,LOG_VIEW_LABEL,icon_path,"log_viewer");
|
|
|
|
|
window->command = yon_char_new(full_log_path);
|
|
|
|
|
gdk_threads_add_timeout(500,(GSourceFunc)yon_read_log,window);
|
|
|
|
|
|
|
|
|
|
@ -1337,6 +1337,7 @@ main_window *yon_main_window_complete(){
|
|
|
|
|
widgets->ReadShortLogButton = yon_gtk_builder_get_widget(builder,"ReadShortLogButton");
|
|
|
|
|
widgets->PackageInstallationProgress = yon_gtk_builder_get_widget(builder,"PackageInstallationProgress");
|
|
|
|
|
widgets->PackageInstallationLabel = yon_gtk_builder_get_widget(builder,"PackageInstallationLabel");
|
|
|
|
|
widgets->ReadFullLogButton = yon_gtk_builder_get_widget(builder,"ReadFullLogButton");
|
|
|
|
|
|
|
|
|
|
widgets->SameInstallationFilesystemTypeCombo = yon_gtk_builder_get_widget(builder,"SameInstallationFilesystemTypeCombo");
|
|
|
|
|
widgets->SameInstallationFormatCheck = yon_gtk_builder_get_widget(builder,"SameInstallationFormatCheck");
|
|
|
|
|
@ -1392,7 +1393,8 @@ main_window *yon_main_window_complete(){
|
|
|
|
|
widgets->AdditionalSoftwareList = GTK_LIST_STORE(gtk_builder_get_object(builder,"AdditionalSoftwareList"));
|
|
|
|
|
widgets->PartitionsList = GTK_LIST_STORE(gtk_builder_get_object(builder,"PartitionsList"));
|
|
|
|
|
|
|
|
|
|
g_signal_connect(G_OBJECT(widgets->ReadShortLogButton),"clicked",G_CALLBACK(on_summary_log_view),widgets);
|
|
|
|
|
g_signal_connect(G_OBJECT(widgets->ReadFullLogButton),"clicked",G_CALLBACK(on_summary_log_view),widgets);
|
|
|
|
|
g_signal_connect(G_OBJECT(widgets->ReadShortLogButton),"clicked",G_CALLBACK(on_process_log_view),widgets);
|
|
|
|
|
|
|
|
|
|
g_signal_connect(G_OBJECT(widgets->GpartedCommonButton),"clicked",G_CALLBACK(on_gparted_open),NULL);
|
|
|
|
|
g_signal_connect(G_OBJECT(widgets->GpartedSameButton),"clicked",G_CALLBACK(on_gparted_open),NULL);
|
|
|
|
|
|