summaryrefslogtreecommitdiffstats
path: root/gtk/src/callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/callbacks.c')
-rw-r--r--gtk/src/callbacks.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index 13c3373e9..1c5ebae68 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -2314,11 +2314,18 @@ ghb_update_summary_info(signal_user_data_t *ud)
gtk_label_set_text(GTK_LABEL(widget), "");
widget = GHB_WIDGET(ud->builder, "dimensions_summary");
gtk_label_set_text(GTK_LABEL(widget), "--");
+ widget = GHB_WIDGET(ud->builder, "summary_image");
+ gtk_widget_show(widget);
widget = GHB_WIDGET(ud->builder, "preview_button_image");
- ghb_image_set_from_icon_name(GTK_IMAGE(widget), "hb-icon", 128);
+ gtk_widget_hide(widget);
return;
}
+ widget = GHB_WIDGET(ud->builder, "summary_image");
+ gtk_widget_hide(widget);
+ widget = GHB_WIDGET(ud->builder, "preview_button_image");
+ gtk_widget_show(widget);
+
// Video Track
const hb_encoder_t * video_encoder;
const hb_rate_t * fps;