[gimp/wip/Jehan/layers-dockable-refresh: 61/70] app: fix icons for the "*-lock-*" actions.




commit 31fc1ee6d4b5cee16f2dfe4cc260c26e2ad6c8a2
Author: Jehan <jehan girinstud io>
Date:   Thu Oct 21 19:18:03 2021 +0200

    app: fix icons for the "*-lock-*" actions.
    
    Now that we have dedicated icons made by Aryeom!

 app/actions/channels-actions.c | 4 ++--
 app/actions/drawable-actions.c | 4 ++--
 app/actions/layers-actions.c   | 6 +++---
 app/actions/vectors-actions.c  | 4 ++--
 4 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/app/actions/channels-actions.c b/app/actions/channels-actions.c
index 7ed6e12402..72ed2ceae1 100644
--- a/app/actions/channels-actions.c
+++ b/app/actions/channels-actions.c
@@ -115,13 +115,13 @@ static const GimpToggleActionEntry channels_toggle_actions[] =
     FALSE,
     GIMP_HELP_CHANNEL_VISIBLE },
 
-  { "channels-lock-content", NULL /* GIMP_ICON_LOCK */,
+  { "channels-lock-content", GIMP_ICON_LOCK_CONTENT,
     NC_("channels-action", "L_ock Pixels of Channel"), NULL, NULL,
     channels_lock_content_cmd_callback,
     FALSE,
     GIMP_HELP_CHANNEL_LOCK_PIXELS },
 
-  { "channels-lock-position", GIMP_ICON_TOOL_MOVE,
+  { "channels-lock-position", GIMP_ICON_LOCK_POSITION,
     NC_("channels-action", "L_ock Position of Channel"), NULL, NULL,
     channels_lock_position_cmd_callback,
     FALSE,
diff --git a/app/actions/drawable-actions.c b/app/actions/drawable-actions.c
index 8c3d67b342..60a0007450 100644
--- a/app/actions/drawable-actions.c
+++ b/app/actions/drawable-actions.c
@@ -62,7 +62,7 @@ static const GimpToggleActionEntry drawable_toggle_actions[] =
     FALSE,
     GIMP_HELP_LAYER_VISIBLE },
 
-  { "drawable-lock-content", NULL /* GIMP_ICON_LOCK */,
+  { "drawable-lock-content", GIMP_ICON_LOCK_CONTENT,
     NC_("drawable-action", "L_ock Pixels of Drawable"), NULL,
     NC_("drawable-action",
         "Keep the pixels on this drawable from being modified"),
@@ -70,7 +70,7 @@ static const GimpToggleActionEntry drawable_toggle_actions[] =
     FALSE,
     GIMP_HELP_LAYER_LOCK_PIXELS },
 
-  { "drawable-lock-position", GIMP_ICON_TOOL_MOVE,
+  { "drawable-lock-position", GIMP_ICON_LOCK_POSITION,
     NC_("drawable-action", "L_ock Position of Drawable"), NULL,
     NC_("drawable-action",
         "Keep the position on this drawable from being modified"),
diff --git a/app/actions/layers-actions.c b/app/actions/layers-actions.c
index 4a421492be..6e491cc634 100644
--- a/app/actions/layers-actions.c
+++ b/app/actions/layers-actions.c
@@ -323,19 +323,19 @@ static const GimpToggleActionEntry layers_toggle_actions[] =
     FALSE,
     GIMP_HELP_LAYER_VISIBLE },
 
-  { "layers-lock-content", NULL /* GIMP_ICON_LOCK */,
+  { "layers-lock-content", GIMP_ICON_LOCK_CONTENT,
     NC_("layers-action", "L_ock Pixels of Layer"), NULL, NULL,
     layers_lock_content_cmd_callback,
     FALSE,
     GIMP_HELP_LAYER_LOCK_PIXELS },
 
-  { "layers-lock-position", GIMP_ICON_TOOL_MOVE,
+  { "layers-lock-position", GIMP_ICON_LOCK_POSITION,
     NC_("layers-action", "L_ock Position of Layer"), NULL, NULL,
     layers_lock_position_cmd_callback,
     FALSE,
     GIMP_HELP_LAYER_LOCK_POSITION },
 
-  { "layers-lock-alpha", GIMP_ICON_TRANSPARENCY,
+  { "layers-lock-alpha", GIMP_ICON_LOCK_ALPHA,
     NC_("layers-action", "Lock Alph_a Channel"), NULL,
     NC_("layers-action",
         "Keep transparency information on this layer from being modified"),
diff --git a/app/actions/vectors-actions.c b/app/actions/vectors-actions.c
index 344534fa16..c3bf9bb205 100644
--- a/app/actions/vectors-actions.c
+++ b/app/actions/vectors-actions.c
@@ -168,13 +168,13 @@ static const GimpToggleActionEntry vectors_toggle_actions[] =
     FALSE,
     GIMP_HELP_PATH_VISIBLE },
 
-  { "vectors-lock-content", NULL /* GIMP_ICON_LOCK */,
+  { "vectors-lock-content", GIMP_ICON_LOCK_CONTENT,
     NC_("vectors-action", "L_ock Strokes of Path"), NULL, NULL,
     vectors_lock_content_cmd_callback,
     FALSE,
     GIMP_HELP_PATH_LOCK_STROKES },
 
-  { "vectors-lock-position", GIMP_ICON_TOOL_MOVE,
+  { "vectors-lock-position", GIMP_ICON_LOCK_POSITION,
     NC_("vectors-action", "L_ock Position of Path"), NULL, NULL,
     vectors_lock_position_cmd_callback,
     FALSE,


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