[gimp] app, cursors: add meson rules for single dot cursor mode implemented…



commit ba21196c484af0a434b5bc8d27d6330c4f80d002
Author: Jehan <jehan girinstud io>
Date:   Tue Jan 11 21:27:37 2022 +0100

    app, cursors: add meson rules for single dot cursor mode implemented…
    
    … in previous commit.
    
    Also fix some coding style bugs.
    Finally change s/"Single Dot"/"Single dot"/ to have the same label
    syntax (only capitalize the first letter of the label) as other labels.
    
    Cf. #7034 and !466.

 app/config/config-enums.c | 2 +-
 app/config/config-enums.h | 2 +-
 app/widgets/gimpcursor.c  | 2 +-
 cursors/Makefile.am       | 2 +-
 cursors/meson.build       | 2 ++
 5 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/app/config/config-enums.c b/app/config/config-enums.c
index 2a8a86f472..988fe3cd76 100644
--- a/app/config/config-enums.c
+++ b/app/config/config-enums.c
@@ -87,7 +87,7 @@ gimp_cursor_mode_get_type (void)
     { GIMP_CURSOR_MODE_TOOL_ICON, NC_("cursor-mode", "Tool icon"), NULL },
     { GIMP_CURSOR_MODE_TOOL_CROSSHAIR, NC_("cursor-mode", "Tool icon with crosshair"), NULL },
     { GIMP_CURSOR_MODE_CROSSHAIR, NC_("cursor-mode", "Crosshair only"), NULL },
-    { GIMP_CURSOR_MODE_SINGLE_DOT, NC_("cursor-mode", "Single Dot"), NULL },
+    { GIMP_CURSOR_MODE_SINGLE_DOT, NC_("cursor-mode", "Single dot"), NULL },
     { 0, NULL, NULL }
   };
 
diff --git a/app/config/config-enums.h b/app/config/config-enums.h
index 46ef5cf8d9..ff8cbeb59c 100644
--- a/app/config/config-enums.h
+++ b/app/config/config-enums.h
@@ -53,7 +53,7 @@ typedef enum
   GIMP_CURSOR_MODE_TOOL_ICON,       /*< desc="Tool icon"                >*/
   GIMP_CURSOR_MODE_TOOL_CROSSHAIR,  /*< desc="Tool icon with crosshair" >*/
   GIMP_CURSOR_MODE_CROSSHAIR,       /*< desc="Crosshair only"           >*/
-  GIMP_CURSOR_MODE_SINGLE_DOT       /*< desc="Single Dot"               >*/
+  GIMP_CURSOR_MODE_SINGLE_DOT       /*< desc="Single dot"               >*/
 } GimpCursorMode;
 
 
diff --git a/app/widgets/gimpcursor.c b/app/widgets/gimpcursor.c
index 511db68084..8fa82756e9 100644
--- a/app/widgets/gimpcursor.c
+++ b/app/widgets/gimpcursor.c
@@ -156,7 +156,7 @@ static GimpCursor gimp_cursors[] =
     "cursor-side-top-left",
     cursor_default_hot_x, cursor_default_hot_y
   },
-  { 
+  {
     "cursor-single-dot",
     cursor_default_hot_x, cursor_default_hot_y
   }
diff --git a/cursors/Makefile.am b/cursors/Makefile.am
index f37a64499d..4fca850656 100644
--- a/cursors/Makefile.am
+++ b/cursors/Makefile.am
@@ -47,7 +47,7 @@ CURSOR_IMAGES = \
        cursor-side-top-right-x2.png            \
        cursor-side-top.png                     \
        cursor-side-top-x2.png                  \
-       cursor-single-dot.png           \
+       cursor-single-dot.png                   \
        cursor-single-dot-x2.png                \
        cursor-zoom.png                         \
        cursor-zoom-x2.png                      \
diff --git a/cursors/meson.build b/cursors/meson.build
index 1f5c2f340a..93b31dc83a 100644
--- a/cursors/meson.build
+++ b/cursors/meson.build
@@ -45,6 +45,8 @@ tool_cursors = [
   'cursor-side-top-right-x2.png',
   'cursor-side-top.png',
   'cursor-side-top-x2.png',
+  'cursor-single-dot.png',
+  'cursor-single-dot-x2.png',
   'cursor-zoom.png',
   'cursor-zoom-x2.png',
 


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