Commit 086d1b8b authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

app/actions/context-commands.c (context_brush_radius_cmd_callback)

2006-08-14  Sven Neumann  <sven@gimp.org>

	* app/actions/context-commands.c (context_brush_radius_cmd_callback)
	(context_actions_update)
	* app/core/gimpbrushgenerated.c (gimp_brush_generated_class_init):
	set upper brush size limit to 4000 pixels. Fixes bug #351175.
parent df30e50f
2006-08-14 Sven Neumann <sven@gimp.org>
* app/actions/context-commands.c (context_brush_radius_cmd_callback)
(context_actions_update)
* app/core/gimpbrushgenerated.c (gimp_brush_generated_class_init):
set upper brush size limit to 4000 pixels. Fixes bug #351175.
2006-08-14 Sven Neumann <sven@gimp.org>
* app/tools/gimpiscissorstool.c (gimp_iscissors_tool_oper_update):
......
......@@ -1208,9 +1208,9 @@ context_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("brush-radius-decrease", generated && radius > 1.0);
SET_SENSITIVE ("brush-radius-decrease-skip", generated && radius > 1.0);
SET_SENSITIVE ("brush-radius-maximum", generated && radius < 4096.0);
SET_SENSITIVE ("brush-radius-increase", generated && radius < 4096.0);
SET_SENSITIVE ("brush-radius-increase-skip", generated && radius < 4096.0);
SET_SENSITIVE ("brush-radius-maximum", generated && radius < 4000.0);
SET_SENSITIVE ("brush-radius-increase", generated && radius < 4000.0);
SET_SENSITIVE ("brush-radius-increase-skip", generated && radius < 4000.0);
SET_SENSITIVE ("brush-angle-minimum", generated);
SET_SENSITIVE ("brush-angle-decrease", generated);
......
......@@ -509,7 +509,7 @@ context_brush_radius_cmd_callback (GtkAction *action,
radius = gimp_brush_generated_get_radius (generated);
radius = action_select_value ((GimpActionSelectType) value,
radius,
1.0, 256.0,
1.0, 4000.0,
1.0, 10.0, FALSE);
gimp_brush_generated_set_radius (generated, radius);
}
......
......@@ -102,7 +102,7 @@ gimp_brush_generated_class_init (GimpBrushGeneratedClass *klass)
G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class, PROP_RADIUS,
g_param_spec_double ("radius", NULL, NULL,
0.1, 1000.0, 5.0,
0.1, 4000.0, 5.0,
GIMP_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class, PROP_SPIKES,
......
......@@ -102,7 +102,7 @@ gimp_brush_generated_class_init (GimpBrushGeneratedClass *klass)
G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class, PROP_RADIUS,
g_param_spec_double ("radius", NULL, NULL,
0.1, 1000.0, 5.0,
0.1, 4000.0, 5.0,
GIMP_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class, PROP_SPIKES,
......
......@@ -102,7 +102,7 @@ gimp_brush_generated_class_init (GimpBrushGeneratedClass *klass)
G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class, PROP_RADIUS,
g_param_spec_double ("radius", NULL, NULL,
0.1, 1000.0, 5.0,
0.1, 4000.0, 5.0,
GIMP_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class, PROP_SPIKES,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment