From aa3bc36c0177120822443e380a97e94b3951a529 Mon Sep 17 00:00:00 2001 From: Jehan Date: Tue, 1 Aug 2017 19:34:07 +0200 Subject: [PATCH] plug-ins: WebP kmax hint text not properly displayed for origin value. The hint text was shown on kmax change, but not when it was 0 or 1 from start (i.e. when previous export was 0/1 so these were the saved values). Run the callback upon construction to initialize properly this hint label. --- plug-ins/file-webp/file-webp-dialog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plug-ins/file-webp/file-webp-dialog.c b/plug-ins/file-webp/file-webp-dialog.c index 0c8779e4e2..d22b3edbcb 100644 --- a/plug-ins/file-webp/file-webp-dialog.c +++ b/plug-ins/file-webp/file-webp-dialog.c @@ -302,6 +302,7 @@ save_dialog (WebPSaveParams *params, g_signal_connect (adj_kf, "value-changed", G_CALLBACK (show_maxkeyframe_hints), label_kf); + show_maxkeyframe_hints (adj_kf, GTK_LABEL (label_kf)); /* minimize-size checkbox */ toggle_minsize = gtk_check_button_new_with_label (_("Minimize output size (slower)"));