#if defined(HAVE_APPINDICATOR) || defined(HAVE_APPINDICATOR_029)
#include "ui_appindicator.h"
+#else
+#include "ui_status.h"
#endif
#ifdef HAVE_LIBNOTIFY
path = malloc(strlen(dir)+1+strlen("log")+1);
sprintf(path, "%s/%s", dir, "log");
- log_open(path, LOG_INFO);
+ log_open(path);
free(dir);
free(path);
textdomain(PACKAGE);
#endif
-#if TUTU
- printf("coucou\n");
-#endif
-
while ((optc = getopt_long(argc, argv, "vhdu:", long_options,
NULL)) != -1) {
switch (optc) {
#if defined(HAVE_APPINDICATOR) || defined(HAVE_APPINDICATOR_029)
ui_appindicator_init(&ui);
+#else
+ ui_status_create();
#endif
gdk_notify_startup_complete();
#ifdef HAVE_LIBATIADL
amd_cleanup();
#endif
+#ifdef HAVE_REMOTE_SUPPORT
+ rsensor_cleanup();
+#endif
psensor_list_free(ui.sensors);
ui.sensors = NULL;