~cairo-dock-team/cairo-dock-plug-ins/plug-ins

« back to all changes in this revision

Viewing changes to System-Monitor/src/applet-init.c

  • Committer: Fabrice Rey
  • Date: 2010-10-05 23:46:29 UTC
  • Revision ID: fabounet03@gmail.com-20101005234629-l0ud1g1is25tby3y
System-monitor: fixed the dependancy to libsensors + improved the info dialog

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include "applet-config.h"
27
27
#include "applet-notifications.h"
28
28
#include "applet-struct.h"
29
 
#include "applet-init.h"
30
29
#include "applet-top.h"
 
30
#include "applet-sensors.h"
31
31
#include "applet-monitor.h"
 
32
#include "applet-init.h"
32
33
 
33
34
 
34
35
CD_APPLET_DEFINITION (N_("System Monitor"),
38
39
        "Middle click on the icon to get some valuable info.\n"
39
40
        "Left click on the icon to get a list of the most ressources using programs.\n"
40
41
        "You can instanciate this applet several times to show different values each time."),
41
 
        "parAdOxxx_ZeRo & Fabounet")
 
42
        "parAdOxxx_ZeRo and Fabounet")
42
43
 
43
44
 
44
45
static gboolean _unthreaded_task (CairoDockModuleInstance *myApplet)
171
172
        CD_APPLET_MANAGE_APPLICATION (NULL);
172
173
        
173
174
#ifdef HAVE_SENSORS
174
 
        if (myData.iSensorsState == 1)
175
 
                sensors_cleanup();
 
175
        cd_sysmonitor_clean_sensors ();
176
176
#endif
177
177
 
178
178
CD_APPLET_STOP_END