summaryrefslogtreecommitdiff
path: root/command
diff options
context:
space:
mode:
Diffstat (limited to 'command')
-rw-r--r--command/Makefile.am3
-rw-r--r--command/command.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/command/Makefile.am b/command/Makefile.am
index 42bcaa5e..e9df3c81 100644
--- a/command/Makefile.am
+++ b/command/Makefile.am
@@ -1,5 +1,6 @@
AM_CPPFLAGS = \
$(MATE_APPLETS4_CFLAGS) \
+ $(MATEDESKTOP_CFLAGS) \
-I$(srcdir) \
-DMATELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
$(DISABLE_DEPRECATED_CFLAGS)
@@ -8,7 +9,7 @@ APPLET_LOCATION = $(libexecdir)/command-applet
libexec_PROGRAMS = command-applet
command_applet_SOURCES = command.c
-command_applet_LDADD = $(MATE_APPLETS4_LIBS)
+command_applet_LDADD = $(MATE_APPLETS4_LIBS) $(MATEDESKTOP_LIBS)
command_applet_CFLAGS = $(WARN_CFLAGS)
appletsdir = $(datadir)/mate-panel/applets
diff --git a/command/command.c b/command/command.c
index dc27ea62..e7113b65 100644
--- a/command/command.c
+++ b/command/command.c
@@ -27,6 +27,7 @@
#include <glib/gi18n.h>
#include <gio/gio.h>
#include <gtk/gtk.h>
+#include <libmate-desktop/mate-aboutdialog.h>
#include <mate-panel-applet.h>
#include <mate-panel-applet-gsettings.h>
@@ -103,7 +104,7 @@ command_about_callback (GtkAction *action, CommandApplet *command_applet)
{
const char* authors[] = { "Stefano Karapetsas <[email protected]>", NULL };
- gtk_show_about_dialog(NULL,
+ mate_show_about_dialog(NULL,
"version", VERSION,
"copyright", "Copyright © 2013-2014 Stefano Karapetsas",
"authors", authors,