[gimp] app: Fixes to brush scale->size replacement



commit 8663b22c2a3cdad6a8bf9c793830ca3f4c6ad79c
Author: Alexia Death <alexiadeath gmail com>
Date:   Sat Oct 30 21:38:20 2010 +0300

    app: Fixes to brush scale->size replacement

 app/actions/tools-commands.c |    2 +-
 app/tools/gimpbrushtool.c    |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/actions/tools-commands.c b/app/actions/tools-commands.c
index d2e75ea..9c3a41d 100644
--- a/app/actions/tools-commands.c
+++ b/app/actions/tools-commands.c
@@ -140,7 +140,7 @@ tools_paint_brush_size_cmd_callback (GtkAction *action,
                               action_data_get_display (data),
                               G_OBJECT (tool_info->tool_options),
                               "brush-size",
-                              1.0, 10.0, 10.0, 1.0, FALSE);
+                              0.1, 1.0, 10.0, 1.0, FALSE);
     }
 }
 
diff --git a/app/tools/gimpbrushtool.c b/app/tools/gimpbrushtool.c
index 09a2d9f..d2774bd 100644
--- a/app/tools/gimpbrushtool.c
+++ b/app/tools/gimpbrushtool.c
@@ -106,7 +106,7 @@ gimp_brush_tool_init (GimpBrushTool *brush_tool)
   GimpTool *tool = GIMP_TOOL (brush_tool);
 
   gimp_tool_control_set_action_value_2 (tool->control,
-                                        "tools/tools-paint-brush-scale-set");
+                                        "tools/tools-paint-brush-size-set");
   gimp_tool_control_set_action_value_3  (tool->control,
                                          "context/context-brush-aspect-set");
   gimp_tool_control_set_action_value_4  (tool->control,
@@ -154,7 +154,7 @@ gimp_brush_tool_constructor (GType                  type,
   g_signal_connect_object (gimp_tool_get_options (tool), "brush-changed",
                            G_CALLBACK (gimp_brush_tool_brush_changed),
                            brush_tool, 0);
-  g_signal_connect_object (gimp_tool_get_options (tool), "notify::brush-scale",
+  g_signal_connect_object (gimp_tool_get_options (tool), "notify::brush-size",
                            G_CALLBACK (gimp_brush_tool_brush_transformed),
                            brush_tool, 0);
 



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