From 50cf1584a9dec14dd880263354db671303ba4c42 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Sat, 3 May 2014 20:30:52 +0200 Subject: Use MateAboutDialog from libmate-desktop --- drivemount/Makefile.am | 6 ++++-- drivemount/drivemount.c | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'drivemount') 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 #include +#include #include #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."), -- cgit v1.2.1