diff --git a/src/sview/common.c b/src/sview/common.c index de3cc1b0cd20990f146cc23a35081a41a40be3ff..aa25af56266c85a93a834521d2fd2449530757e0 100644 --- a/src/sview/common.c +++ b/src/sview/common.c @@ -594,8 +594,6 @@ extern popup_info_t *create_popup_info(int type, int dest_type, char *title) gtk_box_pack_start(GTK_BOX(GTK_DIALOG(popup)->vbox), GTK_WIDGET(window), TRUE, TRUE, 0); - gtk_box_pack_start(GTK_BOX(GTK_DIALOG(popup)->vbox), - main_statusbar, FALSE, FALSE, 0); popup_win->spec_info->type = type; popup_win->spec_info->title = xstrdup(title); diff --git a/src/sview/job_info.c b/src/sview/job_info.c index 3cd9fbca9d25554ba5e0e4e8b91d9cd0d8a0f3b1..3c6123f20ca39bc8f521363dde7a94bbf5ac3e1d 100644 --- a/src/sview/job_info.c +++ b/src/sview/job_info.c @@ -412,6 +412,9 @@ static void _update_info_step(job_step_info_response_msg_t *step_info_ptr, empty goto add */ if (!step_iter) { goto adding; + } else { + memcpy(step_iter, &first_step_iter, + sizeof(GtkTreeIter)); } while(1) { /* search for the jobid and check to see if diff --git a/src/sview/part_info.c b/src/sview/part_info.c index f71e2627aee2621fc073f96d355b401ce30e81a8..e841fb46b37c682a5e159ddf93af237f7523ee6b 100644 --- a/src/sview/part_info.c +++ b/src/sview/part_info.c @@ -220,7 +220,12 @@ static void _subdivide_part(sview_part_info_t *sview_part_info, if (!sub_iter) { i = NO_VAL; goto adding; + } else { + memcpy(sub_iter, &first_sub_iter, + sizeof(GtkTreeIter)); + } + while(1) { /* search for the jobid and check to see if it is in the list */ @@ -243,7 +248,6 @@ static void _subdivide_part(sview_part_info_t *sview_part_info, &line, -1); if(!gtk_tree_model_iter_next(model, sub_iter)) { - sub_iter = NULL; line++; break; } @@ -486,7 +490,7 @@ static void _update_info_part(List info_list, /* get the iter, or find out the list is empty goto add */ if (!gtk_tree_model_get_iter(model, &iter, path)) { goto adding; - } + } while(1) { /* search for the jobid and check to see if it is in the list */ @@ -1200,7 +1204,6 @@ extern void get_info_part(GtkTable *table, display_data_t *display_data) return; } if(display_widget && toggled) { - g_print("I am destroying the widget in part\n"); gtk_widget_destroy(display_widget); display_widget = NULL; goto display_it; @@ -1262,7 +1265,6 @@ display_it: display_widget = NULL; } if(!display_widget) { - g_print("I am creating the widget in part\n"); tree_view = create_treeview(local_display_data); display_widget = gtk_widget_ref(GTK_WIDGET(tree_view));