diff options
author | Stefano Karapetsas <[email protected]> | 2011-11-22 00:52:00 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2011-11-22 00:52:00 +0100 |
commit | a509013b9b4a80a13bfb4adb365dee38fb2b81d7 (patch) | |
tree | c8e06e0e5354eb9868ade186960ba9e0df29fb68 /sensors-applet/sensors-applet.h | |
parent | 69ecddf1317e71f35b1c1de00392dc76f8f1701c (diff) | |
download | mate-sensors-applet-a509013b9b4a80a13bfb4adb365dee38fb2b81d7.tar.bz2 mate-sensors-applet-a509013b9b4a80a13bfb4adb365dee38fb2b81d7.tar.xz |
converted to MATE (thanks to perberos)
Diffstat (limited to 'sensors-applet/sensors-applet.h')
-rw-r--r-- | sensors-applet/sensors-applet.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sensors-applet/sensors-applet.h b/sensors-applet/sensors-applet.h index ac56dc4..3aecb18 100644 --- a/sensors-applet/sensors-applet.h +++ b/sensors-applet/sensors-applet.h @@ -20,15 +20,15 @@ #define SENSORS_APPLET_H #include <gtk/gtk.h> -#include <panel-applet.h> +#include <mate-panel-applet.h> #include "sensors-applet-sensor.h" #ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */ -#ifdef HAVE_LIBNOTIFY -#include <libnotify/notify.h> +#ifdef HAVE_LIBMATENOTIFY +#include <libmatenotify/notify.h> #endif typedef struct _ActiveSensor ActiveSensor; @@ -60,7 +60,7 @@ static const gchar * const stock_icons[NUM_ICONS] = { /* enumeration used to identify columns in the GtkTreeStore data - * structure and to access specific gconf keys too. + * structure and to access specific mateconf keys too. */ enum { PATH_COLUMN = 0, @@ -110,8 +110,8 @@ typedef enum { LOW_ALARM = 0, HIGH_ALARM, SENSOR_INTERFACE_ERROR, - GCONF_READ_ERROR, - GCONF_WRITE_ERROR, + MATECONF_READ_ERROR, + MATECONF_WRITE_ERROR, NUM_NOTIFS } NotifType; @@ -120,7 +120,7 @@ typedef enum { struct _SensorsApplet { /* the actual applet for this instance */ - PanelApplet* applet; + MatePanelApplet* applet; gint size; GtkTreeStore *sensors; @@ -137,9 +137,9 @@ struct _SensorsApplet { * list of labels and sensor values into this container */ GtkWidget *table; GList *active_sensors; -#ifdef HAVE_LIBNOTIFY +#ifdef HAVE_LIBMATENOTIFY NotifyNotification *notification; -#endif // HAVE_LIBNOTIFY +#endif // HAVE_LIBMATENOTIFY }; |