[gimp] plug-ins: silence warnings about missing mnemonics in file-fli-save



commit b072a42bb7b883dfa6dc7c96e76bda409c8931c7
Author: Jacob Boerema <jgboerema gmail com>
Date:   Sat May 7 13:54:52 2022 -0400

    plug-ins: silence warnings about missing mnemonics in file-fli-save
    
    Also remove the unneeded setting of labeled text.

 plug-ins/file-fli/fli-gimp.c | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)
---
diff --git a/plug-ins/file-fli/fli-gimp.c b/plug-ins/file-fli/fli-gimp.c
index 19d651c737..a477b7eb51 100644
--- a/plug-ins/file-fli/fli-gimp.c
+++ b/plug-ins/file-fli/fli-gimp.c
@@ -231,14 +231,15 @@ fli_create_procedure (GimpPlugIn  *plug_in,
                                           "fli,flc");
 
       GIMP_PROC_ARG_INT (procedure, "from-frame",
-                         "From frame",
+                         "_From:",
                          "Export beginning from this frame",
                          -1, G_MAXINT, -1,
                          G_PARAM_READWRITE);
 
       GIMP_PROC_ARG_INT (procedure, "to-frame",
-                         "To frame",
-                         "End exporting with this frame",
+                         "_To:",
+                         "End exporting with this frame "
+                         "(or -1 for all frames)",
                          -1, G_MAXINT, -1,
                          G_PARAM_READWRITE);
     }
@@ -958,12 +959,6 @@ save_dialog (GimpImage     *image,
    * But for now you can set a start- and a end-frame:
    */
 
-  gimp_labeled_set_text (GIMP_LABELED (gimp_procedure_dialog_get_widget (GIMP_PROCEDURE_DIALOG (dialog),
-                                                                         "from-frame", 
GIMP_TYPE_LABEL_SPIN)),
-                         "_From:");
-  gimp_labeled_set_text (GIMP_LABELED (gimp_procedure_dialog_get_widget (GIMP_PROCEDURE_DIALOG (dialog),
-                                                                         "to-frame", GIMP_TYPE_LABEL_SPIN)),
-                         "_To:");
   gimp_procedure_dialog_fill (GIMP_PROCEDURE_DIALOG (dialog), NULL);
 
   gtk_widget_show (dialog);


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