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:
Florian Müllner 2011-08-02 00:29:28 +02:00
parent aba5f2f7b8
commit 004c5cf287

View File

@ -347,6 +347,11 @@ reread_menus (ShellAppSystem *self)
g_warning ("Failed to load apps: %s", error->message);
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;
}