summaryrefslogtreecommitdiff
path: root/battstat
diff options
context:
space:
mode:
Diffstat (limited to 'battstat')
-rw-r--r--battstat/Makefile.am2
-rw-r--r--battstat/battstat_applet.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/battstat/Makefile.am b/battstat/Makefile.am
index 4985f251..fec3e882 100644
--- a/battstat/Makefile.am
+++ b/battstat/Makefile.am
@@ -25,6 +25,7 @@ DIST_SUBDIRS = docs sounds apmlib
AM_CPPFLAGS = \
$(MATE_APPLETS4_CFLAGS) \
+ $(MATEDESKTOP_CFLAGS) \
$(LIBNOTIFY_CFLAGS) \
$(HAL_CFLAGS) \
$(UPOWER_CFLAGS) \
@@ -55,6 +56,7 @@ battstat_applet_2_SOURCES = \
battstat_applet_2_LDADD = \
$(MATE_APPLETS4_LIBS) \
+ $(MATEDESKTOP_LIBS) \
$(LIBNOTIFY_LIBS) \
$(HAL_LIBS) \
$(APMLIB) \
diff --git a/battstat/battstat_applet.c b/battstat/battstat_applet.c
index 9de1ff7c..5ecac451 100644
--- a/battstat/battstat_applet.c
+++ b/battstat/battstat_applet.c
@@ -44,6 +44,8 @@
#include <libnotify/notify.h>
#endif
+#include <libmate-desktop/mate-aboutdialog.h>
+
#include "battstat.h"
#include "pixmaps.h"
@@ -1420,7 +1422,7 @@ about_cb( GtkAction *action, ProgressData *battstat )
/* true */ _("HAL backend enabled.") :
/* false */ _("Legacy (non-HAL) backend enabled.")));
- gtk_show_about_dialog( NULL,
+ mate_show_about_dialog( NULL,
"version", VERSION,
"copyright", "\xC2\xA9 2000 The Gnulix Society, "
"\xC2\xA9 2002-2005 Free Software Foundation and "