Use a limited number of applets in embedded mode
This commit is contained in:
parent
c12f10f2f1
commit
c8c34b7662
|
@ -118,8 +118,12 @@ static gboolean _on_idle(gpointer data)
|
||||||
{
|
{
|
||||||
Panel * panel = data;
|
Panel * panel = data;
|
||||||
/* FIXME load all plugins, a configuration file or ask the user */
|
/* FIXME load all plugins, a configuration file or ask the user */
|
||||||
|
#ifndef EMBEDDED
|
||||||
const char * plugins[] = { "cpu", "clock", "desktop", "lock", "logout",
|
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;
|
size_t i;
|
||||||
Plugin * plugin;
|
Plugin * plugin;
|
||||||
PanelApplet * applet;
|
PanelApplet * applet;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user