app: connect the blob editor's and the ink option's properties explicitly

instead of using gimp_config_connect(model,view,NULL) because that
also connected the model's name to the view's *widget* name, which is
a really bad idea.
This commit is contained in:
Michael Natterer 2011-02-15 18:48:38 +01:00
parent b7313a07bb
commit c3ff71df8b
1 changed files with 3 additions and 1 deletions

View File

@ -138,7 +138,9 @@ gimp_ink_options_gui (GimpToolOptions *tool_options)
gtk_container_add (GTK_CONTAINER (frame), editor);
gtk_widget_show (editor);
gimp_config_connect (config, G_OBJECT (editor), NULL);
gimp_config_connect (config, G_OBJECT (editor), "blob-type");
gimp_config_connect (config, G_OBJECT (editor), "blob-aspect");
gimp_config_connect (config, G_OBJECT (editor), "blob-angle");
return vbox;
}