set the context property on the "edit-fill-pattern" action.

2006-09-07  Sven Neumann  <sven@gimp.org>

	* app/actions/edit-actions.c (edit_actions_setup): set the context
	property on the "edit-fill-pattern" action.
This commit is contained in:
Sven Neumann 2006-09-07 07:59:35 +00:00 committed by Sven Neumann
parent 18406f60c7
commit 3631a3d617
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-09-07 Sven Neumann <sven@gimp.org>
* app/actions/edit-actions.c (edit_actions_setup): set the context
property on the "edit-fill-pattern" action.
2006-09-06 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/tools-enums.[ch]: add GimpRectangleConstraint

View File

@ -208,6 +208,10 @@ edit_actions_setup (GimpActionGroup *group)
"edit-paste-as-new-short");
gtk_action_set_accel_path (action, "<Actions>/edit/edit-paste-as-new");
action = gtk_action_group_get_action (GTK_ACTION_GROUP (group),
"edit-fill-pattern");
g_object_set (action, "context", context, NULL);
g_signal_connect_object (context, "foreground-changed",
G_CALLBACK (edit_actions_foreground_changed),
group, 0);