forked from AuroraMiddleware/gtk
inspector: Show the default.activate action
We were hardcoding that GtkApplicationWindow only has a single action group with prefix 'win', but that is no longer the case. Simply use the code for the general widget case that can handle multiple action groups.
This commit is contained in:
parent
78d254370c
commit
cd5c39834d
@ -219,8 +219,6 @@ gtk_inspector_actions_set_object (GtkInspectorActions *sl,
|
||||
|
||||
if (GTK_IS_APPLICATION (object))
|
||||
add_group (sl, page, G_ACTION_GROUP (object), "app");
|
||||
else if (GTK_IS_APPLICATION_WINDOW (object))
|
||||
add_group (sl, page, G_ACTION_GROUP (object), "win");
|
||||
else if (GTK_IS_WIDGET (object))
|
||||
{
|
||||
const gchar **prefixes;
|
||||
|
Loading…
Reference in New Issue
Block a user