always connect the "text_changed" signal so text layers can be edited
2004-03-12 Sven Neumann <sven@gimp.org> * app/tools/gimptexttool.c (gimp_text_tool_editor): always connect the "text_changed" signal so text layers can be edited again.
This commit is contained in:
parent
1de5defab0
commit
8827ea203a
2 changed files with 12 additions and 6 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2004-03-12 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/tools/gimptexttool.c (gimp_text_tool_editor): always connect
|
||||
the "text_changed" signal so text layers can be edited again.
|
||||
|
||||
2004-03-12 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/gui/tool-options-menu.c (tool_options_menu_entries): added
|
||||
|
|
|
|||
|
|
@ -407,12 +407,13 @@ gimp_text_tool_editor (GimpTextTool *text_tool)
|
|||
"gimp-text-tool-dialog",
|
||||
text_tool->editor);
|
||||
|
||||
if (! text_tool->text)
|
||||
{
|
||||
g_signal_connect_object (text_tool->editor, "text_changed",
|
||||
G_CALLBACK (gimp_text_tool_text_changed),
|
||||
text_tool, 0);
|
||||
}
|
||||
if (text_tool->text)
|
||||
gimp_text_editor_set_text (GIMP_TEXT_EDITOR (text_tool->editor),
|
||||
text_tool->text->text, -1);
|
||||
|
||||
g_signal_connect_object (text_tool->editor, "text_changed",
|
||||
G_CALLBACK (gimp_text_tool_text_changed),
|
||||
text_tool, 0);
|
||||
|
||||
gtk_widget_show (text_tool->editor);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue