summaryrefslogtreecommitdiff
path: root/drivemount
diff options
context:
space:
mode:
Diffstat (limited to 'drivemount')
-rw-r--r--drivemount/Makefile.am6
-rw-r--r--drivemount/drivemount.c3
2 files changed, 6 insertions, 3 deletions
diff --git a/drivemount/Makefile.am b/drivemount/Makefile.am
index 46a6c195..ef482faf 100644
--- a/drivemount/Makefile.am
+++ b/drivemount/Makefile.am
@@ -4,7 +4,8 @@ AM_CPPFLAGS = \
-I. \
-I$(srcdir) \
-DDRIVEMOUNT_MENU_UI_DIR=\""$(uidir)"\" \
- $(MATE_APPLETS4_CFLAGS)
+ $(MATE_APPLETS4_CFLAGS) \
+ $(MATEDESKTOP_CFLAGS)
libexec_PROGRAMS = drivemount_applet2
@@ -16,7 +17,8 @@ drivemount_applet2_SOURCES = \
drive-button.h
drivemount_applet2_LDADD = \
- $(MATE_APPLETS4_LIBS)
+ $(MATE_APPLETS4_LIBS) \
+ $(MATEDESKTOP_LIBS)
appletdir = $(datadir)/mate-panel/applets
diff --git a/drivemount/drivemount.c b/drivemount/drivemount.c
index 60fa1457..90362970 100644
--- a/drivemount/drivemount.c
+++ b/drivemount/drivemount.c
@@ -28,6 +28,7 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
+#include <libmate-desktop/mate-aboutdialog.h>
#include <mate-panel-applet.h>
#include "drive-list.h"
@@ -112,7 +113,7 @@ display_about_dialog (GtkAction *action,
NULL
};
- gtk_show_about_dialog (NULL,
+ mate_show_about_dialog (NULL,
"version", VERSION,
"copyright", "Copyright \xC2\xA9 2004 Canonical Ltd",
"comments", _("Applet for mounting and unmounting block volumes."),