diff options
Diffstat (limited to 'sensors-applet/sensors-applet-settings.h')
-rw-r--r-- | sensors-applet/sensors-applet-settings.h | 49 |
1 files changed, 25 insertions, 24 deletions
diff --git a/sensors-applet/sensors-applet-settings.h b/sensors-applet/sensors-applet-settings.h index 89f6ce0..fb7a13e 100644 --- a/sensors-applet/sensors-applet-settings.h +++ b/sensors-applet/sensors-applet-settings.h @@ -1,5 +1,6 @@ /* * Copyright (C) 2005-2009 Alex Murray <[email protected]> + * 2013 Stefano Karapetsas <[email protected]> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,32 +24,32 @@ #include <mate-panel-applet.h> #include <mate-panel-applet-gsettings.h> -#define FONT_SIZE "font-size" -#define HIDE_UNITS "hide-units" -#define DISPLAY_MODE "display-mode" -#define LAYOUT_MODE "layout-mode" -#define TEMPERATURE_SCALE "temperature-scale" +#define FONT_SIZE "font-size" +#define HIDE_UNITS "hide-units" +#define DISPLAY_MODE "display-mode" +#define LAYOUT_MODE "layout-mode" +#define TEMPERATURE_SCALE "temperature-scale" #define DISPLAY_NOTIFICATIONS "display-notifications" -#define TIMEOUT "timeout-delay" -#define GRAPH_SIZE "graph-size" -#define SENSORS_LIST "sensors-list" +#define TIMEOUT "timeout-delay" +#define GRAPH_SIZE "graph-size" +#define SENSORS_LIST "sensors-list" -#define PATH "path" -#define ID "id" -#define INTERFACE "interface" -#define LABEL "label" -#define ENABLED "enabled" -#define LOW_VALUE "low-value" -#define HIGH_VALUE "high-value" -#define ALARM_ENABLED "alarm-enabled" -#define LOW_ALARM_COMMAND "low-alarm-command" -#define HIGH_ALARM_COMMAND "high-alarm-command" -#define ALARM_TIMEOUT "alarm-timeout" -#define SENSOR_TYPE "sensor-type" -#define MULTIPLIER "multiplier" -#define OFFSET "offset" -#define ICON_TYPE "icon-type" -#define GRAPH_COLOR "graph-color" +#define PATH "path" +#define ID "id" +#define INTERFACE "interface" +#define LABEL "label" +#define ENABLED "enabled" +#define LOW_VALUE "low-value" +#define HIGH_VALUE "high-value" +#define ALARM_ENABLED "alarm-enabled" +#define LOW_ALARM_COMMAND "low-alarm-command" +#define HIGH_ALARM_COMMAND "high-alarm-command" +#define ALARM_TIMEOUT "alarm-timeout" +#define SENSOR_TYPE "sensor-type" +#define MULTIPLIER "multiplier" +#define OFFSET "offset" +#define ICON_TYPE "icon-type" +#define GRAPH_COLOR "graph-color" gchar* sensors_applet_settings_get_unique_id (const gchar *interface, const gchar *id, const gchar *path); gboolean sensors_applet_settings_save_sensors(SensorsApplet *sensors_applet); |