*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
sensors = malloc((n + 1) * sizeof(struct psensor *));
for (i = 0, j = 0; i < n; i++) {
if (config_is_appindicator_enabled(sorted_sensors[i]->id)) {
sensors = malloc((n + 1) * sizeof(struct psensor *));
for (i = 0, j = 0; i < n; i++) {
if (config_is_appindicator_enabled(sorted_sensors[i]->id)) {
gtk_builder_connect_signals(builder, ui);
g_object_ref(G_OBJECT(menu));
gtk_builder_connect_signals(builder, ui);
g_object_ref(G_OBJECT(menu));
}
static void update_label(struct ui_psensor *ui)
{
char *label, *str, *tmp, *guide;
struct psensor **p;
}
static void update_label(struct ui_psensor *ui)
{
char *label, *str, *tmp, *guide;
struct psensor **p;
if (attention && status == APP_INDICATOR_STATUS_ACTIVE)
app_indicator_set_status(indicator,
if (attention && status == APP_INDICATOR_STATUS_ACTIVE)
app_indicator_set_status(indicator,