Commit 9f582ed6 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

rerender the text layer as suggested in bug #532078.

2008-05-10  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptexttool.c (gimp_text_tool_confirm_response):
	rerender the text layer as suggested in bug #532078.
	(gimp_text_tool_confirm_dialog): minor dialog improvements.


svn path=/trunk/; revision=25618
parent 5d8d0237
2008-05-10 Sven Neumann <sven@gimp.org>
* app/tools/gimptexttool.c (gimp_text_tool_confirm_response):
rerender the text layer as suggested in bug #532078.
(gimp_text_tool_confirm_dialog): minor dialog improvements.
2008-05-10 Sven Neumann <sven@gimp.org>
* plug-ins/flame/libifs.c: removed trailing whitespace.
......
......@@ -1030,8 +1030,13 @@ gimp_text_tool_confirm_response (GtkWidget *widget,
gimp_text_tool_create_layer (text_tool, layer->text);
break;
case GTK_RESPONSE_OK:
case GTK_RESPONSE_ACCEPT:
gimp_text_tool_connect (text_tool, layer, layer->text);
/* cause the text layer to be rerendered */
if (text_tool->proxy)
g_object_notify (G_OBJECT (text_tool->proxy), "text");
gimp_text_tool_editor (text_tool);
break;
......@@ -1064,12 +1069,11 @@ gimp_text_tool_confirm_dialog (GimpTextTool *text_tool)
GIMP_STOCK_TEXT_LAYER,
_("Confirm Text Editing"),
tool->display->shell,
gimp_standard_help_func,
tool->tool_info->help_id,
gimp_standard_help_func, NULL,
GTK_STOCK_NEW, RESPONSE_NEW,
_("Create _New Layer"), RESPONSE_NEW,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_EDIT, GTK_RESPONSE_OK,
GTK_STOCK_EDIT, GTK_RESPONSE_ACCEPT,
NULL);
......
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