quick GUI fix for the text_tool

--Sven
This commit is contained in:
Sven Neumann 2000-02-24 00:51:00 +00:00
parent 8dead13522
commit 40779fe370
4 changed files with 9 additions and 7 deletions

View File

@ -1,7 +1,9 @@
Thu Feb 24 00:42:12 CET 2000 Sven Neumann <sven@gimp.org>
* app/text_tool.c: don't crash if a font couldn't be loaded.
Fixes bug #6526.
(fixes bug #6526). Reordered the way the objects in the
tool_options dialog are connected, so the widgets sensitivity
is set correctly.
Thu Feb 24 00:10:29 CET 2000 Sven Neumann <sven@gimp.org>

View File

@ -214,10 +214,10 @@ text_options_new (void)
gtk_widget_set_sensitive (spinbutton, ! options->use_dyntext_d);
gtk_widget_set_sensitive (label, ! options->use_dyntext_d);
gtk_object_set_data (GTK_OBJECT (options->use_dyntext_w), "inverse_sensitive",
options->antialias_w);
gtk_object_set_data (GTK_OBJECT (options->antialias_w), "inverse_sensitive",
spinbutton);
gtk_object_set_data (GTK_OBJECT (spinbutton), "inverse_sensitive", label);
gtk_object_set_data (GTK_OBJECT (label), "inverse_sensitive",
options->antialias_w);
return options;
}

View File

@ -214,10 +214,10 @@ text_options_new (void)
gtk_widget_set_sensitive (spinbutton, ! options->use_dyntext_d);
gtk_widget_set_sensitive (label, ! options->use_dyntext_d);
gtk_object_set_data (GTK_OBJECT (options->use_dyntext_w), "inverse_sensitive",
options->antialias_w);
gtk_object_set_data (GTK_OBJECT (options->antialias_w), "inverse_sensitive",
spinbutton);
gtk_object_set_data (GTK_OBJECT (spinbutton), "inverse_sensitive", label);
gtk_object_set_data (GTK_OBJECT (label), "inverse_sensitive",
options->antialias_w);
return options;
}

View File

@ -214,10 +214,10 @@ text_options_new (void)
gtk_widget_set_sensitive (spinbutton, ! options->use_dyntext_d);
gtk_widget_set_sensitive (label, ! options->use_dyntext_d);
gtk_object_set_data (GTK_OBJECT (options->use_dyntext_w), "inverse_sensitive",
options->antialias_w);
gtk_object_set_data (GTK_OBJECT (options->antialias_w), "inverse_sensitive",
spinbutton);
gtk_object_set_data (GTK_OBJECT (spinbutton), "inverse_sensitive", label);
gtk_object_set_data (GTK_OBJECT (label), "inverse_sensitive",
options->antialias_w);
return options;
}