forked from AuroraMiddleware/gtk
Merge branch 'inspector-actions' into 'master'
inspector: Show the default.activate action See merge request GNOME/gtk!809
This commit is contained in:
commit
a18647af0e
@ -216,11 +216,9 @@ gtk_inspector_actions_set_object (GtkInspectorActions *sl,
|
|||||||
g_hash_table_remove_all (sl->priv->groups);
|
g_hash_table_remove_all (sl->priv->groups);
|
||||||
g_hash_table_remove_all (sl->priv->iters);
|
g_hash_table_remove_all (sl->priv->iters);
|
||||||
gtk_list_store_clear (sl->priv->model);
|
gtk_list_store_clear (sl->priv->model);
|
||||||
|
|
||||||
if (GTK_IS_APPLICATION (object))
|
if (GTK_IS_APPLICATION (object))
|
||||||
add_group (sl, page, G_ACTION_GROUP (object), "app");
|
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))
|
else if (GTK_IS_WIDGET (object))
|
||||||
{
|
{
|
||||||
const gchar **prefixes;
|
const gchar **prefixes;
|
||||||
|
Loading…
Reference in New Issue
Block a user