Use a limited number of applets in embedded mode

This commit is contained in:
Pierre Pronchery 2009-08-09 19:32:27 +00:00
parent c12f10f2f1
commit c8c34b7662

View File

@ -118,8 +118,12 @@ static gboolean _on_idle(gpointer data)
{
Panel * panel = data;
/* FIXME load all plugins, a configuration file or ask the user */
#ifndef EMBEDDED
const char * plugins[] = { "cpu", "clock", "desktop", "lock", "logout",
"main", "memory", "tasks", NULL };
"main", "memory", "pager", "tasks", NULL };
#else
const char * plugins[] = { "clock", "desktop", "main", "tasks", NULL };
#endif
size_t i;
Plugin * plugin;
PanelApplet * applet;