summaryrefslogtreecommitdiff
path: root/sensors-applet/prefs-dialog.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-02-27 13:14:29 +0100
committerStefano Karapetsas <[email protected]>2013-02-27 13:14:29 +0100
commit9a2a46d3622863c8d83aa46a884d1cc1f90bfb84 (patch)
tree8202e84dd227d9377e3b2e507e76f84568450f17 /sensors-applet/prefs-dialog.c
parent4381df30054f853298a5b081e260893b5279cb6a (diff)
downloadmate-sensors-applet-9a2a46d3622863c8d83aa46a884d1cc1f90bfb84.tar.bz2
mate-sensors-applet-9a2a46d3622863c8d83aa46a884d1cc1f90bfb84.tar.xz
Use libnotify instead of libmatenofity
Diffstat (limited to 'sensors-applet/prefs-dialog.c')
-rw-r--r--sensors-applet/prefs-dialog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sensors-applet/prefs-dialog.c b/sensors-applet/prefs-dialog.c
index 386af34..89e4b49 100644
--- a/sensors-applet/prefs-dialog.c
+++ b/sensors-applet/prefs-dialog.c
@@ -193,7 +193,7 @@ static void prefs_dialog_temperature_scale_changed(GtkComboBox *temperature_scal
}
-#ifdef HAVE_LIBMATENOTIFY
+#ifdef HAVE_LIBNOTIFY
static void prefs_dialog_display_notifications_toggled(GtkCheckButton *display_notifications,
PrefsDialog *prefs_dialog) {
@@ -610,7 +610,7 @@ void prefs_dialog_open(SensorsApplet *sensors_applet) {
G_CALLBACK(prefs_dialog_timeout_changed),
prefs_dialog);
-#ifdef HAVE_LIBMATENOTIFY
+#ifdef HAVE_LIBNOTIFY
header_text = g_markup_printf_escaped("<b>%s</b>", _("Notifications"));
prefs_dialog->notifications_header = g_object_new(GTK_TYPE_LABEL,
"use-markup", TRUE,
@@ -654,7 +654,7 @@ void prefs_dialog_open(SensorsApplet *sensors_applet) {
prefs_dialog->globals_table = g_object_new(GTK_TYPE_TABLE,
"homogeneous", FALSE,
"n-columns", 3,
-#ifdef HAVE_LIBMATENOTIFY
+#ifdef HAVE_LIBNOTIFY
"n-rows", 9,
#else
"n-rows", 7,
@@ -774,7 +774,7 @@ void prefs_dialog_open(SensorsApplet *sensors_applet) {
0);
-#ifdef HAVE_LIBMATENOTIFY
+#ifdef HAVE_LIBNOTIFY
gtk_table_attach(prefs_dialog->globals_table,
GTK_WIDGET(prefs_dialog->notifications_header),
0, 2,