[gimp] Bug 763620 - "Export" > "Export..."



commit 454f7fb7ff2960ef62f36116b4a6bd1122067b86
Author: Michael Natterer <mitch gimp org>
Date:   Thu Apr 7 22:09:36 2016 +0200

    Bug 763620 - "Export" > "Export..."
    
    Show ellipses on the "Export" and "Save" menu items when selecting
    them will show a file chooser.

 app/actions/file-actions.c |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/app/actions/file-actions.c b/app/actions/file-actions.c
index 7b6c209..25f4087 100644
--- a/app/actions/file-actions.c
+++ b/app/actions/file-actions.c
@@ -156,7 +156,7 @@ static const GimpEnumActionEntry file_save_actions[] =
     GIMP_HELP_FILE_SAVE },
 
   { "file-export", NULL,
-    NC_("file-action", "Export"), "<primary>E",
+    NC_("file-action", "Export..."), "<primary>E",
     NC_("file-action", "Export the image again"),
     GIMP_SAVE_MODE_EXPORT, FALSE,
     GIMP_HELP_FILE_EXPORT },
@@ -307,6 +307,19 @@ file_actions_update (GimpActionGroup *group,
   SET_SENSITIVE ("file-copy-location",        file || source || export);
   SET_SENSITIVE ("file-show-in-file-manager", file || source || export);
 
+  if (file)
+    {
+      gimp_action_group_set_action_label (group,
+                                          "file-save",
+                                          C_("file-action", "_Save"));
+    }
+  else
+    {
+      gimp_action_group_set_action_label (group,
+                                          "file-save",
+                                          C_("file-action", "_Save..."));
+    }
+
   if (export)
     {
       gchar *label = file_actions_create_label (_("Export to %s"), export);
@@ -322,7 +335,8 @@ file_actions_update (GimpActionGroup *group,
   else
     {
       gimp_action_group_set_action_label (group,
-                                          "file-export", _("Export"));
+                                          "file-export",
+                                          C_("file-action", "Export..."));
     }
 
   /*  needed for the empty display  */


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