diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-05-08 03:34:14 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-05-08 03:34:14 +0000 |
commit | 97b450dfd71559d8975a74778c839c8c397d8f7b (patch) | |
tree | 702fbc0e40af795df83c1a1fa361eca390a429a4 /gtk/inspector/actions.c | |
parent | 46c1e154f187ffc421ea5b17436369c5b477ee4a (diff) | |
download | gtk+-97b450dfd71559d8975a74778c839c8c397d8f7b.tar.gz |
Improve the action editor more
Diffstat (limited to 'gtk/inspector/actions.c')
-rw-r--r-- | gtk/inspector/actions.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/inspector/actions.c b/gtk/inspector/actions.c index 2562617d27..c6a9c92000 100644 --- a/gtk/inspector/actions.c +++ b/gtk/inspector/actions.c @@ -51,6 +51,7 @@ struct _GtkInspectorActionsPrivate GtkSizeGroup *enabled; GtkSizeGroup *parameter; GtkSizeGroup *state; + GtkSizeGroup *activate; GHashTable *groups; }; @@ -131,7 +132,7 @@ add_action (GtkInspectorActions *sl, gtk_container_add (GTK_CONTAINER (box), label); g_object_set_data (G_OBJECT (row), "state", label); - editor = gtk_inspector_action_editor_new (group, prefix, name); + editor = gtk_inspector_action_editor_new (group, prefix, name, sl->priv->activate); gtk_style_context_add_class (gtk_widget_get_style_context (editor), "cell"); gtk_container_add (GTK_CONTAINER (box), editor); @@ -312,6 +313,7 @@ gtk_inspector_actions_class_init (GtkInspectorActionsClass *klass) gtk_widget_class_bind_template_child_private (widget_class, GtkInspectorActions, enabled); gtk_widget_class_bind_template_child_private (widget_class, GtkInspectorActions, parameter); gtk_widget_class_bind_template_child_private (widget_class, GtkInspectorActions, state); + gtk_widget_class_bind_template_child_private (widget_class, GtkInspectorActions, activate); } // vim: set et sw=2 ts=2: |