[gimp] plug-ins: WebP kmax hint text not properly displayed for origin value.



commit aa3bc36c0177120822443e380a97e94b3951a529
Author: Jehan <jehan girinstud io>
Date:   Tue Aug 1 19:34:07 2017 +0200

    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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/file-webp/file-webp-dialog.c b/plug-ins/file-webp/file-webp-dialog.c
index 0c8779e..d22b3ed 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)"));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]