Commit 78d5bf07f7b75f6a8282684dd1fffdefacc66c71
1 parent
7ed208d8
Exists in
master
and in
1 other branch
Adjustments in trace header.
Showing
1 changed file
with
9 additions
and
7 deletions
Show diff stats
src/trace/trace.c
| @@ -123,10 +123,6 @@ | @@ -123,10 +123,6 @@ | ||
| 123 | if(hSession) { | 123 | if(hSession) { |
| 124 | lib3270_get_trace_handler(hSession,&widget->trace.handler,&widget->trace.userdata); | 124 | lib3270_get_trace_handler(hSession,&widget->trace.handler,&widget->trace.userdata); |
| 125 | lib3270_set_trace_handler(hSession,trace_handler,(void *) widget); | 125 | lib3270_set_trace_handler(hSession,trace_handler,(void *) widget); |
| 126 | - | ||
| 127 | - g_autofree gchar * release = g_strdup_printf("Protocol library release is %s\n",lib3270_get_build_rpq_timestamp()); | ||
| 128 | - v3270_trace_append_text(GTK_WIDGET(widget),release); | ||
| 129 | - | ||
| 130 | } | 126 | } |
| 131 | 127 | ||
| 132 | // v3270_toggle_button_set_session | 128 | // v3270_toggle_button_set_session |
| @@ -423,9 +419,6 @@ | @@ -423,9 +419,6 @@ | ||
| 423 | 419 | ||
| 424 | set_session(widget, v3270_get_session(widget->terminal)); | 420 | set_session(widget, v3270_get_session(widget->terminal)); |
| 425 | 421 | ||
| 426 | - g_autofree gchar * release = g_strdup_printf("Terminal library release is %s\n\n",G_STRINGIFY(RPQ_TIMESTAMP)); | ||
| 427 | - v3270_trace_append_text(GTK_WIDGET(widget),release); | ||
| 428 | - | ||
| 429 | GTK_V3270(terminal)->trace = GTK_WIDGET(widget); | 422 | GTK_V3270(terminal)->trace = GTK_WIDGET(widget); |
| 430 | 423 | ||
| 431 | g_object_notify_by_pspec( | 424 | g_object_notify_by_pspec( |
| @@ -433,6 +426,15 @@ | @@ -433,6 +426,15 @@ | ||
| 433 | GTK_V3270_GET_CLASS(terminal)->properties.trace | 426 | GTK_V3270_GET_CLASS(terminal)->properties.trace |
| 434 | ); | 427 | ); |
| 435 | 428 | ||
| 429 | + g_autofree gchar * release = | ||
| 430 | + g_strconcat( G_STRINGIFY(PRODUCT_NAME) " Revisions ", | ||
| 431 | + lib3270_get_build_rpq_timestamp(), | ||
| 432 | + " " G_STRINGIFY(RPQ_TIMESTAMP) "\n\n", | ||
| 433 | + NULL | ||
| 434 | + ); | ||
| 435 | + | ||
| 436 | + v3270_trace_append_text(GTK_WIDGET(widget),release); | ||
| 437 | + | ||
| 436 | } | 438 | } |
| 437 | 439 | ||
| 438 | return GTK_WIDGET(widget); | 440 | return GTK_WIDGET(widget); |