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 --- command/Makefile.am | 3 ++- command/command.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'command') 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 #include #include +#include #include #include @@ -103,7 +104,7 @@ command_about_callback (GtkAction *action, CommandApplet *command_applet) { const char* authors[] = { "Stefano Karapetsas ", NULL }; - gtk_show_about_dialog(NULL, + mate_show_about_dialog(NULL, "version", VERSION, "copyright", "Copyright © 2013-2014 Stefano Karapetsas", "authors", authors, -- cgit v1.2.1