mirror of https://github.com/GNOME/gimp.git
app: avoid duplicate offset actions
Blacklist the "tools-offset" action in the GUI, and only keep "filters-offset", to avoid duplication. Update gimp:offset's description, so that "filters-offset" gets a proper tool-tip.
This commit is contained in:
parent
e962e8b3de
commit
42d4255262
|
@ -33,6 +33,8 @@
|
|||
|
||||
#include "gimpoperationoffset.h"
|
||||
|
||||
#include "gimp-intl.h"
|
||||
|
||||
|
||||
enum
|
||||
{
|
||||
|
@ -112,8 +114,8 @@ gimp_operation_offset_class_init (GimpOperationOffsetClass *klass)
|
|||
|
||||
gegl_operation_class_set_keys (operation_class,
|
||||
"name", "gimp:offset",
|
||||
"categories", "gimp",
|
||||
"description", "GIMP Offset operation",
|
||||
"categories", "transform",
|
||||
"description", _("Shift the pixels, optionally wrapping them at the borders"),
|
||||
NULL);
|
||||
|
||||
g_object_class_install_property (object_class, PROP_CONTEXT,
|
||||
|
|
|
@ -341,6 +341,7 @@ gimp_action_is_gui_blacklisted (const gchar *action_name)
|
|||
"tools-brightness-contrast",
|
||||
"tools-curves",
|
||||
"tools-levels",
|
||||
"tools-offset",
|
||||
"tools-threshold"
|
||||
};
|
||||
|
||||
|
|
|
@ -301,6 +301,7 @@ app/operations/gimpoperationcurves.c
|
|||
app/operations/gimpoperationdesaturate.c
|
||||
app/operations/gimpoperationhuesaturation.c
|
||||
app/operations/gimpoperationlevels.c
|
||||
app/operations/gimpoperationoffset.c
|
||||
app/operations/gimpoperationposterize.c
|
||||
app/operations/gimpoperationsemiflatten.c
|
||||
app/operations/gimpoperationthreshold.c
|
||||
|
|
Loading…
Reference in New Issue