diff options
Diffstat (limited to 'battstat')
-rw-r--r-- | battstat/Makefile.am | 4 | ||||
-rw-r--r-- | battstat/battstat_applet.c | 10 | ||||
-rw-r--r-- | battstat/docs/C/mate-battstat.xml | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/battstat/Makefile.am b/battstat/Makefile.am index cd01741f..c4f98c2b 100644 --- a/battstat/Makefile.am +++ b/battstat/Makefile.am @@ -25,7 +25,7 @@ DIST_SUBDIRS = docs sounds apmlib INCLUDES = \ $(MATE_APPLETS4_CFLAGS) \ - $(LIBMATENOTIFY_CFLAGS) \ + $(LIBNOTIFY_CFLAGS) \ $(HAL_CFLAGS) \ $(UPOWER_CFLAGS) \ $(APMINC) \ @@ -55,7 +55,7 @@ battstat_applet_2_SOURCES = \ battstat_applet_2_LDADD = \ $(MATE_APPLETS4_LIBS) \ - $(LIBMATENOTIFY_LIBS) \ + $(LIBNOTIFY_LIBS) \ $(HAL_LIBS) \ $(APMLIB) \ $(UPOWER_LIBS) \ diff --git a/battstat/battstat_applet.c b/battstat/battstat_applet.c index 3fd76401..05601e9a 100644 --- a/battstat/battstat_applet.c +++ b/battstat/battstat_applet.c @@ -40,8 +40,8 @@ #include <mate-panel-applet.h> #include <mate-panel-applet-gsettings.h> -#ifdef HAVE_LIBMATENOTIFY -#include <libmatenotify/notify.h> +#ifdef HAVE_LIBNOTIFY +#include <libnotify/notify.h> #endif #include "battstat.h" @@ -420,7 +420,7 @@ get_remaining (BatteryStatus *info) static gboolean battery_full_notify (GtkWidget *applet) { -#ifdef HAVE_LIBMATENOTIFY +#ifdef HAVE_LIBNOTIFY GError *error = NULL; GdkPixbuf *icon; gboolean result; @@ -435,7 +435,7 @@ battery_full_notify (GtkWidget *applet) GTK_ICON_LOOKUP_USE_BUILTIN, NULL); - NotifyNotification *n = notify_notification_new (_("Your battery is now fully recharged"), "", /* "battery" */ NULL, applet); + NotifyNotification *n = notify_notification_new (_("Your battery is now fully recharged"), "", /* "battery" */ NULL); /* XXX: it would be nice to pass this as a named icon */ notify_notification_set_icon_from_pixbuf (n, icon); @@ -462,7 +462,7 @@ battery_full_notify (GtkWidget *applet) static void battery_full_dialog (GtkWidget *applet) { - /* first attempt to use libmatenotify */ + /* first attempt to use libnotify */ if (battery_full_notify (applet)) return; diff --git a/battstat/docs/C/mate-battstat.xml b/battstat/docs/C/mate-battstat.xml index 281be3ad..74e5ea60 100644 --- a/battstat/docs/C/mate-battstat.xml +++ b/battstat/docs/C/mate-battstat.xml @@ -382,7 +382,7 @@ </guilabel></para> <para> Selecting this option notifies when your battery is fully - recharged. If you have compiled the &applet; with libmatenotify + recharged. If you have compiled the &applet; with libnotify support a non-intrusive notification will popup from the monitor on the panel. </para> |