Commit f663cb8b authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

app/tools/gimpperspectivetool.c app/tools/gimpscaletool.c

2007-03-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpperspectivetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpfliptool.c
	* app/tools/gimpsheartool.c
	* app/tools/gimptransformtool.[ch]: removed shell_desc member 
from
	GimpTransformToolClass and just use the tool blurb instead.


svn path=/trunk/; revision=22067
parent 18efb16d
2007-03-08 Sven Neumann <sven@gimp.org>
* app/tools/gimpperspectivetool.c
* app/tools/gimpscaletool.c
* app/tools/gimprotatetool.c
* app/tools/gimpfliptool.c
* app/tools/gimpsheartool.c
* app/tools/gimptransformtool.[ch]: removed shell_desc member from
GimpTransformToolClass and just use the tool blurb instead.
2007-03-08 Sven Neumann <sven@gimp.org>
* app/tools/gimprectangletool.c (gimp_rectangle_tool_key_press):
......@@ -108,6 +108,7 @@ gimp_flip_tool_init (GimpFlipTool *flip_tool)
GIMP_TOOL_CURSOR_FLIP_HORIZONTAL);
gimp_tool_control_set_toggle_tool_cursor (tool->control,
GIMP_TOOL_CURSOR_FLIP_VERTICAL);
tr_tool->undo_desc = Q_("command|Flip");
}
......
......@@ -96,8 +96,7 @@ gimp_perspective_tool_init (GimpPerspectiveTool *perspective_tool)
GIMP_TOOL_CURSOR_PERSPECTIVE);
tr_tool->undo_desc = Q_("command|Perspective");
tr_tool->shell_desc = _("Perspective Transform Information");
tr_tool->progress_text = _("Perspective");
tr_tool->progress_text = _("Perspective transformation");
tr_tool->use_grid = TRUE;
tr_tool->use_handles = TRUE;
......
......@@ -112,7 +112,6 @@ gimp_rotate_tool_init (GimpRotateTool *rotate_tool)
gimp_tool_control_set_tool_cursor (tool->control, GIMP_TOOL_CURSOR_ROTATE);
tr_tool->undo_desc = Q_("command|Rotate");
tr_tool->shell_desc = _("Rotation Information");
tr_tool->progress_text = _("Rotating");
tr_tool->use_grid = TRUE;
......
......@@ -105,7 +105,6 @@ gimp_scale_tool_init (GimpScaleTool *scale_tool)
gimp_tool_control_set_tool_cursor (tool->control, GIMP_TOOL_CURSOR_RESIZE);
tr_tool->undo_desc = Q_("command|Scale");
tr_tool->shell_desc = _("Scaling Information");
tr_tool->progress_text = _("Scaling");
tr_tool->use_grid = TRUE;
......
......@@ -112,7 +112,6 @@ gimp_shear_tool_init (GimpShearTool *shear_tool)
gimp_tool_control_set_tool_cursor (tool->control, GIMP_TOOL_CURSOR_SHEAR);
tr_tool->undo_desc = Q_("command|Shear");
tr_tool->shell_desc = _("Shearing Information");
tr_tool->progress_text = _("Shearing");
tr_tool->use_grid = TRUE;
......
......@@ -234,7 +234,6 @@ gimp_transform_tool_init (GimpTransformTool *tr_tool)
tr_tool->undo_desc = NULL;
tr_tool->shell_desc = NULL;
tr_tool->progress_text = _("Transforming");
tr_tool->dialog = NULL;
}
......@@ -1666,7 +1665,7 @@ gimp_transform_tool_dialog (GimpTransformTool *tr_tool)
tr_tool->dialog = gimp_tool_dialog_new (tool_info,
NULL /* tool->display->shell */,
tr_tool->shell_desc,
tool_info->blurb,
GIMP_STOCK_RESET, RESPONSE_RESET,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
stock_id, GTK_RESPONSE_OK,
......
......@@ -97,8 +97,6 @@ struct _GimpTransformTool
GimpTransformDirection direction;
const gchar *undo_desc;
const gchar *shell_desc;
const gchar *progress_text;
GtkWidget *dialog;
......
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