gimp r25618 - in trunk: . app/tools
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25618 - in trunk: . app/tools
- Date: Sat, 10 May 2008 13:36:06 +0100 (BST)
Author: neo
Date: Sat May 10 12:36:06 2008
New Revision: 25618
URL: http://svn.gnome.org/viewvc/gimp?rev=25618&view=rev
Log:
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.
Modified:
trunk/ChangeLog
trunk/app/tools/gimptexttool.c
Modified: trunk/app/tools/gimptexttool.c
==============================================================================
--- trunk/app/tools/gimptexttool.c (original)
+++ trunk/app/tools/gimptexttool.c Sat May 10 12:36:06 2008
@@ -1030,8 +1030,13 @@
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_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,
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_EDIT, GTK_RESPONSE_OK,
+ _("Create _New Layer"), RESPONSE_NEW,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ GTK_STOCK_EDIT, GTK_RESPONSE_ACCEPT,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]