[gimp] app: add much more "Show in file manager" menu items



commit 39db88d0a53aa12bce1edbbad33cc988951e2320
Author: Michael Natterer <mitch gimp org>
Date:   Mon Feb 16 20:29:31 2015 +0100

    app: add much more "Show in file manager" menu items
    
    Brushes, patterns, documents, ...

 app/actions/brushes-actions.c      |   17 +++++++++++----
 app/actions/data-commands.c        |   34 ++++++++++++++++++++++++++++++++
 app/actions/data-commands.h        |   32 ++++++++++++++++--------------
 app/actions/documents-actions.c    |   25 +++++++++++++++--------
 app/actions/documents-commands.c   |   29 +++++++++++++++++++++++++++
 app/actions/documents-commands.h   |   38 ++++++++++++++++++-----------------
 app/actions/dynamics-actions.c     |   15 ++++++++++---
 app/actions/gradients-actions.c    |   17 +++++++++++----
 app/actions/palettes-actions.c     |   17 +++++++++++----
 app/actions/patterns-actions.c     |   17 +++++++++++----
 app/actions/tool-presets-actions.c |   15 ++++++++++---
 app/widgets/gimphelp-ids.h         |    7 ++++++
 menus/brushes-menu.xml             |    1 +
 menus/documents-menu.xml           |    1 +
 menus/dynamics-menu.xml            |    1 +
 menus/gradients-menu.xml           |    1 +
 menus/palettes-menu.xml            |    1 +
 menus/patterns-menu.xml            |    1 +
 menus/tool-presets-menu.xml        |    1 +
 19 files changed, 200 insertions(+), 70 deletions(-)
---
diff --git a/app/actions/brushes-actions.c b/app/actions/brushes-actions.c
index 5bc473d..113a563 100644
--- a/app/actions/brushes-actions.c
+++ b/app/actions/brushes-actions.c
@@ -67,6 +67,12 @@ static const GimpActionEntry brushes_actions[] =
     G_CALLBACK (data_copy_location_cmd_callback),
     GIMP_HELP_BRUSH_COPY_LOCATION },
 
+  { "brushes-show-in-file-manager", "gtk-directory",
+    NC_("brushes-action", "Show Brush in _File Manager"), NULL,
+    NC_("brushes-action", "Show the brush file location in the file manager"),
+    G_CALLBACK (data_show_in_file_manager_cmd_callback),
+    GIMP_HELP_BRUSH_SHOW_IN_FILE_MANAGER },
+
   { "brushes-delete", "edit-delete",
     NC_("brushes-action", "_Delete Brush"), NULL,
     NC_("brushes-action", "Delete this brush"),
@@ -132,11 +138,12 @@ brushes_actions_update (GimpActionGroup *group,
 #define SET_SENSITIVE(action,condition) \
         gimp_action_group_set_action_sensitive (group, action, (condition) != 0)
 
-  SET_SENSITIVE ("brushes-edit",          brush);
-  SET_SENSITIVE ("brushes-open-as-image", brush && file && ! GIMP_IS_BRUSH_GENERATED (brush));
-  SET_SENSITIVE ("brushes-duplicate",     brush && GIMP_DATA_GET_CLASS (data)->duplicate);
-  SET_SENSITIVE ("brushes-copy-location", brush && file);
-  SET_SENSITIVE ("brushes-delete",        brush && gimp_data_is_deletable (data));
+  SET_SENSITIVE ("brushes-edit",                 brush);
+  SET_SENSITIVE ("brushes-open-as-image",        file && ! GIMP_IS_BRUSH_GENERATED (brush));
+  SET_SENSITIVE ("brushes-duplicate",            brush && GIMP_DATA_GET_CLASS (data)->duplicate);
+  SET_SENSITIVE ("brushes-copy-location",        file);
+  SET_SENSITIVE ("brushes-show-in-file-manager", file);
+  SET_SENSITIVE ("brushes-delete",               brush && gimp_data_is_deletable (data));
 
 #undef SET_SENSITIVE
 }
diff --git a/app/actions/data-commands.c b/app/actions/data-commands.c
index 5f1032c..7fd395a 100644
--- a/app/actions/data-commands.c
+++ b/app/actions/data-commands.c
@@ -185,6 +185,40 @@ data_copy_location_cmd_callback (GtkAction *action,
 }
 
 void
+data_show_in_file_manager_cmd_callback (GtkAction *action,
+                                        gpointer   user_data)
+{
+  GimpDataFactoryView *view = GIMP_DATA_FACTORY_VIEW (user_data);
+  GimpContext         *context;
+  GimpData            *data;
+
+  context = gimp_container_view_get_context (GIMP_CONTAINER_EDITOR (view)->view);
+
+  data = (GimpData *)
+    gimp_context_get_by_type (context,
+                              gimp_data_factory_view_get_children_type (view));
+
+  if (data)
+    {
+      GFile *file = gimp_data_get_file (data);
+
+      if (file)
+        {
+          GError *error = NULL;
+
+          if (! gimp_file_show_in_file_manager (file, &error))
+            {
+              gimp_message (context->gimp, G_OBJECT (view),
+                            GIMP_MESSAGE_ERROR,
+                            _("Can't show file in file manager: %s"),
+                            error->message);
+              g_clear_error (&error);
+            }
+        }
+    }
+}
+
+void
 data_delete_cmd_callback (GtkAction *action,
                           gpointer   user_data)
 {
diff --git a/app/actions/data-commands.h b/app/actions/data-commands.h
index f8f4fdf..5ba6e14 100644
--- a/app/actions/data-commands.h
+++ b/app/actions/data-commands.h
@@ -19,21 +19,23 @@
 #define __DATA_COMMANDS_H__
 
 
-void   data_open_as_image_cmd_callback (GtkAction   *action,
-                                        gpointer     data);
-void   data_new_cmd_callback           (GtkAction   *action,
-                                        gpointer     data);
-void   data_duplicate_cmd_callback     (GtkAction   *action,
-                                        gpointer     data);
-void   data_copy_location_cmd_callback (GtkAction   *action,
-                                        gpointer     user_data);
-void   data_delete_cmd_callback        (GtkAction   *action,
-                                        gpointer     data);
-void   data_refresh_cmd_callback       (GtkAction   *action,
-                                        gpointer     data);
-void   data_edit_cmd_callback          (GtkAction   *action,
-                                        const gchar *value,
-                                        gpointer     data);
+void   data_open_as_image_cmd_callback        (GtkAction   *action,
+                                               gpointer     data);
+void   data_new_cmd_callback                  (GtkAction   *action,
+                                               gpointer     data);
+void   data_duplicate_cmd_callback            (GtkAction   *action,
+                                               gpointer     data);
+void   data_copy_location_cmd_callback        (GtkAction   *action,
+                                               gpointer     user_data);
+void   data_show_in_file_manager_cmd_callback (GtkAction   *action,
+                                               gpointer     user_data);
+void   data_delete_cmd_callback               (GtkAction   *action,
+                                               gpointer     data);
+void   data_refresh_cmd_callback              (GtkAction   *action,
+                                               gpointer     data);
+void   data_edit_cmd_callback                 (GtkAction   *action,
+                                               const gchar *value,
+                                               gpointer     data);
 
 
 #endif /* __DATA_COMMANDS_H__ */
diff --git a/app/actions/documents-actions.c b/app/actions/documents-actions.c
index 9aa21fe..71ee50b 100644
--- a/app/actions/documents-actions.c
+++ b/app/actions/documents-actions.c
@@ -66,6 +66,12 @@ static const GimpActionEntry documents_actions[] =
     G_CALLBACK (documents_copy_location_cmd_callback),
     GIMP_HELP_DOCUMENT_COPY_LOCATION },
 
+  { "documents-show-in-file-manager", "gtk-directory",
+    NC_("documents-action", "Show Image in _File Manager"), NULL,
+    NC_("documents-action", "Show image location in the file manager"),
+    G_CALLBACK (documents_show_in_file_manager_cmd_callback),
+    GIMP_HELP_DOCUMENT_SHOW_IN_FILE_MANAGER },
+
   { "documents-remove", "list-remove",
     NC_("documents-action", "Remove _Entry"), NULL,
     NC_("documents-action", "Remove the selected entry"),
@@ -122,15 +128,16 @@ documents_actions_update (GimpActionGroup *group,
 #define SET_SENSITIVE(action,condition) \
         gimp_action_group_set_action_sensitive (group, action, (condition) != 0)
 
-  SET_SENSITIVE ("documents-open",             imagefile);
-  SET_SENSITIVE ("documents-raise-or-open",    imagefile);
-  SET_SENSITIVE ("documents-file-open-dialog", TRUE);
-  SET_SENSITIVE ("documents-copy-location",    imagefile);
-  SET_SENSITIVE ("documents-remove",           imagefile);
-  SET_SENSITIVE ("documents-clear",            TRUE);
-  SET_SENSITIVE ("documents-recreate-preview", imagefile);
-  SET_SENSITIVE ("documents-reload-previews",  imagefile);
-  SET_SENSITIVE ("documents-remove-dangling",  imagefile);
+  SET_SENSITIVE ("documents-open",                 imagefile);
+  SET_SENSITIVE ("documents-raise-or-open",        imagefile);
+  SET_SENSITIVE ("documents-file-open-dialog",     TRUE);
+  SET_SENSITIVE ("documents-copy-location",        imagefile);
+  SET_SENSITIVE ("documents-show-in-file-manager", imagefile);
+  SET_SENSITIVE ("documents-remove",               imagefile);
+  SET_SENSITIVE ("documents-clear",                TRUE);
+  SET_SENSITIVE ("documents-recreate-preview",     imagefile);
+  SET_SENSITIVE ("documents-reload-previews",      imagefile);
+  SET_SENSITIVE ("documents-remove-dangling",      imagefile);
 
 #undef SET_SENSITIVE
 }
diff --git a/app/actions/documents-commands.c b/app/actions/documents-commands.c
index bdaec6f..9e0ea2c 100644
--- a/app/actions/documents-commands.c
+++ b/app/actions/documents-commands.c
@@ -167,6 +167,35 @@ documents_copy_location_cmd_callback (GtkAction *action,
 }
 
 void
+documents_show_in_file_manager_cmd_callback (GtkAction *action,
+                                             gpointer   data)
+{
+  GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
+  GimpContext         *context;
+  GimpImagefile       *imagefile;
+
+  context   = gimp_container_view_get_context (editor->view);
+  imagefile = gimp_context_get_imagefile (context);
+
+  if (imagefile)
+    {
+      GFile  *file  = g_file_new_for_uri (gimp_object_get_name (imagefile));
+      GError *error = NULL;
+
+      if (! gimp_file_show_in_file_manager (file, &error))
+        {
+          gimp_message (context->gimp, G_OBJECT (editor),
+                        GIMP_MESSAGE_ERROR,
+                        _("Can't show file in file manager: %s"),
+                        error->message);
+          g_clear_error (&error);
+        }
+
+      g_object_unref (file);
+    }
+}
+
+void
 documents_remove_cmd_callback (GtkAction *action,
                                gpointer   data)
 {
diff --git a/app/actions/documents-commands.h b/app/actions/documents-commands.h
index b7108f8..a6dec07 100644
--- a/app/actions/documents-commands.h
+++ b/app/actions/documents-commands.h
@@ -19,24 +19,26 @@
 #define __DOCUMENTS_COMMANDS_H__
 
 
-void   documents_open_cmd_callback             (GtkAction *action,
-                                                gpointer   data);
-void   documents_raise_or_open_cmd_callback    (GtkAction *action,
-                                                gpointer   data);
-void   documents_file_open_dialog_cmd_callback (GtkAction *action,
-                                                gpointer   data);
-void   documents_copy_location_cmd_callback    (GtkAction *action,
-                                                gpointer   data);
-void   documents_remove_cmd_callback           (GtkAction *action,
-                                                gpointer   data);
-void   documents_clear_cmd_callback            (GtkAction *action,
-                                                gpointer   data);
-void   documents_recreate_preview_cmd_callback (GtkAction *action,
-                                                gpointer   data);
-void   documents_reload_previews_cmd_callback  (GtkAction *action,
-                                                gpointer   data);
-void   documents_remove_dangling_cmd_callback  (GtkAction *action,
-                                                gpointer   data);
+void   documents_open_cmd_callback                 (GtkAction *action,
+                                                    gpointer   data);
+void   documents_raise_or_open_cmd_callback        (GtkAction *action,
+                                                    gpointer   data);
+void   documents_file_open_dialog_cmd_callback     (GtkAction *action,
+                                                    gpointer   data);
+void   documents_copy_location_cmd_callback        (GtkAction *action,
+                                                    gpointer   data);
+void   documents_show_in_file_manager_cmd_callback (GtkAction *action,
+                                                    gpointer   data);
+void   documents_remove_cmd_callback               (GtkAction *action,
+                                                    gpointer   data);
+void   documents_clear_cmd_callback                (GtkAction *action,
+                                                    gpointer   data);
+void   documents_recreate_preview_cmd_callback     (GtkAction *action,
+                                                    gpointer   data);
+void   documents_reload_previews_cmd_callback      (GtkAction *action,
+                                                    gpointer   data);
+void   documents_remove_dangling_cmd_callback      (GtkAction *action,
+                                                    gpointer   data);
 
 
 #endif /* __DOCUMENTS_COMMANDS_H__ */
diff --git a/app/actions/dynamics-actions.c b/app/actions/dynamics-actions.c
index 58af11d..5738e2d 100644
--- a/app/actions/dynamics-actions.c
+++ b/app/actions/dynamics-actions.c
@@ -61,6 +61,12 @@ static const GimpActionEntry dynamics_actions[] =
     G_CALLBACK (data_copy_location_cmd_callback),
     GIMP_HELP_DYNAMICS_COPY_LOCATION },
 
+  { "dynamics-show-in-file-manager", "gtk-directory",
+    NC_("dynamics-action", "Show Dynamics in _File Manager"), NULL,
+    NC_("dynamics-action", "Show dynamics file location in the file manager"),
+    G_CALLBACK (data_show_in_file_manager_cmd_callback),
+    GIMP_HELP_DYNAMICS_SHOW_IN_FILE_MANAGER },
+
   { "dynamics-delete", "edit-delete",
     NC_("dynamics-action", "_Delete Dynamics"), NULL,
     NC_("dynamics-action", "Delete this dynamics"),
@@ -121,10 +127,11 @@ dynamics_actions_update (GimpActionGroup *group,
 #define SET_SENSITIVE(action,condition) \
         gimp_action_group_set_action_sensitive (group, action, (condition) != 0)
 
-  SET_SENSITIVE ("dynamics-edit",          dynamics);
-  SET_SENSITIVE ("dynamics-duplicate",     dynamics && GIMP_DATA_GET_CLASS (data)->duplicate);
-  SET_SENSITIVE ("dynamics-copy-location", dynamics && file);
-  SET_SENSITIVE ("dynamics-delete",        dynamics && gimp_data_is_deletable (data));
+  SET_SENSITIVE ("dynamics-edit",                 dynamics);
+  SET_SENSITIVE ("dynamics-duplicate",            dynamics && GIMP_DATA_GET_CLASS (data)->duplicate);
+  SET_SENSITIVE ("dynamics-copy-location",        file);
+  SET_SENSITIVE ("dynamics-show-in-file-manager", file);
+  SET_SENSITIVE ("dynamics-delete",               dynamics && gimp_data_is_deletable (data));
 
 #undef SET_SENSITIVE
 }
diff --git a/app/actions/gradients-actions.c b/app/actions/gradients-actions.c
index 1d796b4..4192bf6 100644
--- a/app/actions/gradients-actions.c
+++ b/app/actions/gradients-actions.c
@@ -62,6 +62,12 @@ static const GimpActionEntry gradients_actions[] =
     G_CALLBACK (data_copy_location_cmd_callback),
     GIMP_HELP_GRADIENT_COPY_LOCATION },
 
+  { "gradients-show-in-file-manager", "gtk-directory",
+    NC_("gradients-action", "Show Gradient in _File Manager"), NULL,
+    NC_("gradients-action", "Show gradient file location in the file manager"),
+    G_CALLBACK (data_show_in_file_manager_cmd_callback),
+    GIMP_HELP_GRADIENT_SHOW_IN_FILE_MANAGER },
+
   { "gradients-save-as-pov", "document-save-as",
     NC_("gradients-action", "Save as _POV-Ray..."), NULL,
     NC_("gradients-action", "Save gradient as POV-Ray"),
@@ -133,11 +139,12 @@ gradients_actions_update (GimpActionGroup *group,
 #define SET_SENSITIVE(action,condition) \
         gimp_action_group_set_action_sensitive (group, action, (condition) != 0)
 
-  SET_SENSITIVE ("gradients-edit",          gradient);
-  SET_SENSITIVE ("gradients-duplicate",     gradient);
-  SET_SENSITIVE ("gradients-save-as-pov",   gradient);
-  SET_SENSITIVE ("gradients-copy-location", gradient && file);
-  SET_SENSITIVE ("gradients-delete",        gradient && gimp_data_is_deletable (data));
+  SET_SENSITIVE ("gradients-edit",                 gradient);
+  SET_SENSITIVE ("gradients-duplicate",            gradient);
+  SET_SENSITIVE ("gradients-save-as-pov",          gradient);
+  SET_SENSITIVE ("gradients-copy-location",        file);
+  SET_SENSITIVE ("gradients-show-in-file-manager", file);
+  SET_SENSITIVE ("gradients-delete",               gradient && gimp_data_is_deletable (data));
 
 #undef SET_SENSITIVE
 }
diff --git a/app/actions/palettes-actions.c b/app/actions/palettes-actions.c
index a49e58d..2c04861 100644
--- a/app/actions/palettes-actions.c
+++ b/app/actions/palettes-actions.c
@@ -74,6 +74,12 @@ static const GimpActionEntry palettes_actions[] =
     G_CALLBACK (data_copy_location_cmd_callback),
     GIMP_HELP_PALETTE_COPY_LOCATION },
 
+  { "palettes-show-in-file-manager", "gtk-directory",
+    NC_("palettes-action", "Show Palette in _File Manager"), NULL,
+    NC_("palettes-action", "Show palette file location in the file manager"),
+    G_CALLBACK (data_show_in_file_manager_cmd_callback),
+    GIMP_HELP_PALETTE_SHOW_IN_FILE_MANAGER },
+
   { "palettes-delete", "edit-delete",
     NC_("palettes-action", "_Delete Palette"), NULL,
     NC_("palettes-action", "Delete this palette"),
@@ -139,11 +145,12 @@ palettes_actions_update (GimpActionGroup *group,
 #define SET_SENSITIVE(action,condition) \
         gimp_action_group_set_action_sensitive (group, action, (condition) != 0)
 
-  SET_SENSITIVE ("palettes-edit",          palette);
-  SET_SENSITIVE ("palettes-duplicate",     palette && GIMP_DATA_GET_CLASS (data)->duplicate);
-  SET_SENSITIVE ("palettes-merge",         FALSE); /* FIXME palette && GIMP_IS_CONTAINER_LIST_VIEW 
(editor->view)); */
-  SET_SENSITIVE ("palettes-copy-location", palette && file);
-  SET_SENSITIVE ("palettes-delete",        palette && gimp_data_is_deletable (data));
+  SET_SENSITIVE ("palettes-edit",                 palette);
+  SET_SENSITIVE ("palettes-duplicate",            palette && GIMP_DATA_GET_CLASS (data)->duplicate);
+  SET_SENSITIVE ("palettes-merge",                FALSE); /* FIXME palette && GIMP_IS_CONTAINER_LIST_VIEW 
(editor->view)); */
+  SET_SENSITIVE ("palettes-copy-location",        file);
+  SET_SENSITIVE ("palettes-show-in-file-manager", file);
+  SET_SENSITIVE ("palettes-delete",               palette && gimp_data_is_deletable (data));
 
 #undef SET_SENSITIVE
 }
diff --git a/app/actions/patterns-actions.c b/app/actions/patterns-actions.c
index 7f9e1c0..b0c3b01 100644
--- a/app/actions/patterns-actions.c
+++ b/app/actions/patterns-actions.c
@@ -67,6 +67,12 @@ static const GimpActionEntry patterns_actions[] =
     G_CALLBACK (data_copy_location_cmd_callback),
     GIMP_HELP_PATTERN_COPY_LOCATION },
 
+  { "patterns-show-in-file-manager", "gtk-directory",
+    NC_("patterns-action", "Show Pattern in _File Manager"), NULL,
+    NC_("patterns-action", "Show pattern file location in the file manager"),
+    G_CALLBACK (data_show_in_file_manager_cmd_callback),
+    GIMP_HELP_PATTERN_SHOW_IN_FILE_MANAGER },
+
   { "patterns-delete", "edit-delete",
     NC_("patterns-action", "_Delete Pattern"), NULL,
     NC_("patterns-action", "Delete this pattern"),
@@ -132,11 +138,12 @@ patterns_actions_update (GimpActionGroup *group,
 #define SET_SENSITIVE(action,condition) \
         gimp_action_group_set_action_sensitive (group, action, (condition) != 0)
 
-  SET_SENSITIVE ("patterns-edit",          pattern && FALSE);
-  SET_SENSITIVE ("patterns-open-as-image", pattern && file);
-  SET_SENSITIVE ("patterns-duplicate",     pattern && GIMP_DATA_GET_CLASS (data)->duplicate);
-  SET_SENSITIVE ("patterns-copy-location", pattern && file);
-  SET_SENSITIVE ("patterns-delete",        pattern && gimp_data_is_deletable (data));
+  SET_SENSITIVE ("patterns-edit",                 pattern && FALSE);
+  SET_SENSITIVE ("patterns-open-as-image",        file);
+  SET_SENSITIVE ("patterns-duplicate",            pattern && GIMP_DATA_GET_CLASS (data)->duplicate);
+  SET_SENSITIVE ("patterns-copy-location",        file);
+  SET_SENSITIVE ("patterns-show-in-file-manager", file);
+  SET_SENSITIVE ("patterns-delete",               pattern && gimp_data_is_deletable (data));
 
 #undef SET_SENSITIVE
 }
diff --git a/app/actions/tool-presets-actions.c b/app/actions/tool-presets-actions.c
index 9692c06..b9b7710 100644
--- a/app/actions/tool-presets-actions.c
+++ b/app/actions/tool-presets-actions.c
@@ -63,6 +63,12 @@ static const GimpActionEntry tool_presets_actions[] =
     G_CALLBACK (data_copy_location_cmd_callback),
     GIMP_HELP_TOOL_PRESET_COPY_LOCATION },
 
+  { "tool-presets-show-in-file-manager", "gtk-directory",
+    NC_("tool-presets-action", "Show Tool Preset in _File Manager"), NULL,
+    NC_("tool-presets-action", "Show tool preset file location in the file manager"),
+    G_CALLBACK (data_show_in_file_manager_cmd_callback),
+    GIMP_HELP_TOOL_PRESET_SHOW_IN_FILE_MANAGER },
+
   { "tool-presets-delete", "edit-delete",
     NC_("tool-presets-action", "_Delete Tool Preset"), NULL,
     NC_("tool-presets-action", "Delete this tool preset"),
@@ -123,10 +129,11 @@ tool_presets_actions_update (GimpActionGroup *group,
 #define SET_SENSITIVE(action,condition) \
         gimp_action_group_set_action_sensitive (group, action, (condition) != 0)
 
-  SET_SENSITIVE ("tool-presets-edit",          tool_preset);
-  SET_SENSITIVE ("tool-presets-duplicate",     tool_preset && GIMP_DATA_GET_CLASS (data)->duplicate);
-  SET_SENSITIVE ("tool-presets-copy-location", tool_preset && file);
-  SET_SENSITIVE ("tool-presets-delete",        tool_preset && gimp_data_is_deletable (data));
+  SET_SENSITIVE ("tool-presets-edit",                 tool_preset);
+  SET_SENSITIVE ("tool-presets-duplicate",            tool_preset && GIMP_DATA_GET_CLASS (data)->duplicate);
+  SET_SENSITIVE ("tool-presets-copy-location",        file);
+  SET_SENSITIVE ("tool-presets-show-in-file-manager", file);
+  SET_SENSITIVE ("tool-presets-delete",               tool_preset && gimp_data_is_deletable (data));
 
 #undef SET_SENSITIVE
 }
diff --git a/app/widgets/gimphelp-ids.h b/app/widgets/gimphelp-ids.h
index 0a7dec0..d9e08ee 100644
--- a/app/widgets/gimphelp-ids.h
+++ b/app/widgets/gimphelp-ids.h
@@ -323,6 +323,7 @@
 #define GIMP_HELP_BRUSH_NEW                       "gimp-brush-new"
 #define GIMP_HELP_BRUSH_DUPLICATE                 "gimp-brush-duplicate"
 #define GIMP_HELP_BRUSH_COPY_LOCATION             "gimp-brush-copy-location"
+#define GIMP_HELP_BRUSH_SHOW_IN_FILE_MANAGER      "gimp-brush-show-in-file-manager"
 #define GIMP_HELP_BRUSH_DELETE                    "gimp-brush-delete"
 #define GIMP_HELP_BRUSH_REFRESH                   "gimp-brush-refresh"
 
@@ -338,6 +339,7 @@
 #define GIMP_HELP_DYNAMICS_NEW                    "gimp-dynamics-new"
 #define GIMP_HELP_DYNAMICS_DUPLICATE              "gimp-dynamics-duplicate"
 #define GIMP_HELP_DYNAMICS_COPY_LOCATION          "gimp-dynamics-copy-location"
+#define GIMP_HELP_DYNAMICS_SHOW_IN_FILE_MANAGER   "gimp-dynamics-show-in-file-manager"
 #define GIMP_HELP_DYNAMICS_DELETE                 "gimp-dynamics-delete"
 #define GIMP_HELP_DYNAMICS_REFRESH                "gimp-dynamics-refresh"
 
@@ -347,6 +349,7 @@
 #define GIMP_HELP_PATTERN_NEW                     "gimp-pattern-new"
 #define GIMP_HELP_PATTERN_DUPLICATE               "gimp-pattern-duplicate"
 #define GIMP_HELP_PATTERN_COPY_LOCATION           "gimp-pattern-copy-location"
+#define GIMP_HELP_PATTERN_SHOW_IN_FILE_MANAGER    "gimp-pattern-show-in-file-manager"
 #define GIMP_HELP_PATTERN_DELETE                  "gimp-pattern-delete"
 #define GIMP_HELP_PATTERN_REFRESH                 "gimp-pattern-refresh"
 
@@ -355,6 +358,7 @@
 #define GIMP_HELP_GRADIENT_NEW                    "gimp-gradient-new"
 #define GIMP_HELP_GRADIENT_DUPLICATE              "gimp-gradient-duplicate"
 #define GIMP_HELP_GRADIENT_COPY_LOCATION          "gimp-gradient-copy-location"
+#define GIMP_HELP_GRADIENT_SHOW_IN_FILE_MANAGER   "gimp-gradient-show-in-file-manager"
 #define GIMP_HELP_GRADIENT_DELETE                 "gimp-gradient-delete"
 #define GIMP_HELP_GRADIENT_REFRESH                "gimp-gradient-refresh"
 #define GIMP_HELP_GRADIENT_SAVE_AS_POV            "gimp-gradient-save-as-pov"
@@ -387,6 +391,7 @@
 #define GIMP_HELP_PALETTE_NEW                     "gimp-palette-new"
 #define GIMP_HELP_PALETTE_DUPLICATE               "gimp-palette-duplicate"
 #define GIMP_HELP_PALETTE_COPY_LOCATION           "gimp-palette-copy-location"
+#define GIMP_HELP_PALETTE_SHOW_IN_FILE_MANAGER    "gimp-palette-show-in-file-manager"
 #define GIMP_HELP_PALETTE_DELETE                  "gimp-palette-delete"
 #define GIMP_HELP_PALETTE_REFRESH                 "gimp-palette-refresh"
 #define GIMP_HELP_PALETTE_IMPORT                  "gimp-palette-import"
@@ -417,11 +422,13 @@
 #define GIMP_HELP_TOOL_PRESET_NEW                 "gimp-tool-preset-new"
 #define GIMP_HELP_TOOL_PRESET_DUPLICATE           "gimp-tool-preset-duplicate"
 #define GIMP_HELP_TOOL_PRESET_COPY_LOCATION       "gimp-tool-preset-copy-location"
+#define GIMP_HELP_TOOL_PRESET_SHOW_IN_FILE_MANAGER "gimp-tool-preset-show-in-file-manager"
 #define GIMP_HELP_TOOL_PRESET_DELETE              "gimp-tool-preset-delete"
 #define GIMP_HELP_TOOL_PRESET_REFRESH             "gimp-tool-preset-refresh"
 
 #define GIMP_HELP_DOCUMENT_CLEAR                  "gimp-document-clear"
 #define GIMP_HELP_DOCUMENT_COPY_LOCATION          "gimp-document-copy-location"
+#define GIMP_HELP_DOCUMENT_SHOW_IN_FILE_MANAGER   "gimp-document-show-in-file-manager"
 #define GIMP_HELP_DOCUMENT_DIALOG                 "gimp-document-dialog"
 #define GIMP_HELP_DOCUMENT_OPEN                   "gimp-document-open"
 #define GIMP_HELP_DOCUMENT_REMOVE                 "gimp-document-remove"
diff --git a/menus/brushes-menu.xml b/menus/brushes-menu.xml
index fe23823..aeebd16 100644
--- a/menus/brushes-menu.xml
+++ b/menus/brushes-menu.xml
@@ -9,6 +9,7 @@
     <menuitem action="brushes-new" />
     <menuitem action="brushes-duplicate" />
     <menuitem action="brushes-copy-location" />
+    <menuitem action="brushes-show-in-file-manager" />
     <menuitem action="brushes-delete" />
     <separator />
     <menuitem action="brushes-refresh" />
diff --git a/menus/documents-menu.xml b/menus/documents-menu.xml
index fc26b33..11da781 100644
--- a/menus/documents-menu.xml
+++ b/menus/documents-menu.xml
@@ -7,6 +7,7 @@
     <menuitem action="documents-raise-or-open" />
     <menuitem action="documents-file-open-dialog" />
     <menuitem action="documents-copy-location" />
+    <menuitem action="documents-show-in-file-manager" />
     <menuitem action="documents-remove" />
     <menuitem action="documents-clear" />
     <separator />
diff --git a/menus/dynamics-menu.xml b/menus/dynamics-menu.xml
index 999a16b..917ff62 100644
--- a/menus/dynamics-menu.xml
+++ b/menus/dynamics-menu.xml
@@ -8,6 +8,7 @@
     <menuitem action="dynamics-new" />
     <menuitem action="dynamics-duplicate" />
     <menuitem action="dynamics-copy-location" />
+    <menuitem action="dynamics-show-in-file-manager" />
     <menuitem action="dynamics-delete" />
     <separator />
     <menuitem action="dynamics-refresh" />
diff --git a/menus/gradients-menu.xml b/menus/gradients-menu.xml
index f187f2d..c27853d 100644
--- a/menus/gradients-menu.xml
+++ b/menus/gradients-menu.xml
@@ -9,6 +9,7 @@
     <menuitem action="gradients-duplicate" />
     <menuitem action="gradients-save-as-pov" />
     <menuitem action="gradients-copy-location" />
+    <menuitem action="gradients-show-in-file-manager" />
     <menuitem action="gradients-delete" />
     <separator />
     <menuitem action="gradients-refresh" />
diff --git a/menus/palettes-menu.xml b/menus/palettes-menu.xml
index 6526444..8468b8c 100644
--- a/menus/palettes-menu.xml
+++ b/menus/palettes-menu.xml
@@ -10,6 +10,7 @@
     <menuitem action="palettes-duplicate" />
     <menuitem action="palettes-merge" />
     <menuitem action="palettes-copy-location" />
+    <menuitem action="palettes-show-in-file-manager" />
     <menuitem action="palettes-delete" />
     <separator />
     <menuitem action="palettes-refresh" />
diff --git a/menus/patterns-menu.xml b/menus/patterns-menu.xml
index 3835cce..2e1906e 100644
--- a/menus/patterns-menu.xml
+++ b/menus/patterns-menu.xml
@@ -14,6 +14,7 @@
     -->
 
     <menuitem action="patterns-copy-location" />
+    <menuitem action="patterns-show-in-file-manager" />
     <menuitem action="patterns-delete" />
     <separator />
     <menuitem action="patterns-refresh" />
diff --git a/menus/tool-presets-menu.xml b/menus/tool-presets-menu.xml
index acc7d26..33b82b7 100644
--- a/menus/tool-presets-menu.xml
+++ b/menus/tool-presets-menu.xml
@@ -8,6 +8,7 @@
     <menuitem action="tool-presets-new" />
     <menuitem action="tool-presets-duplicate" />
     <menuitem action="tool-presets-copy-location" />
+    <menuitem action="tool-presets-show-in-file-manager" />
     <menuitem action="tool-presets-delete" />
     <separator />
     <menuitem action="tool-presets-refresh" />


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