shell-app-system: Load settings apps
When porting to the new gnome-menus API in commit 8f3bdd4f1
, the
initial loading of settings apps was left out, so settings panels
are neither found nor can be launched from the top panel menus.
This commit is contained in:
parent
aba5f2f7b8
commit
004c5cf287
@ -347,6 +347,11 @@ reread_menus (ShellAppSystem *self)
|
|||||||
g_warning ("Failed to load apps: %s", error->message);
|
g_warning ("Failed to load apps: %s", error->message);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (!gmenu_tree_load_sync (self->priv->settings_tree, &error))
|
||||||
|
{
|
||||||
|
g_warning ("Failed to load settings: %s", error->message);
|
||||||
|
return;
|
||||||
|
}
|
||||||
self->priv->loaded = TRUE;
|
self->priv->loaded = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user