app: Fixes to brush scale->size replacement

This commit is contained in:
Alexia Death 2010-10-30 21:38:20 +03:00
parent ae742f0920
commit 8663b22c2a
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}
}

View File

@ -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);