diff options
Diffstat (limited to 'timerapplet')
-rw-r--r-- | timerapplet/Makefile.am | 3 | ||||
-rw-r--r-- | timerapplet/timerapplet.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/timerapplet/Makefile.am b/timerapplet/Makefile.am index 01517ff8..5ace281b 100644 --- a/timerapplet/Makefile.am +++ b/timerapplet/Makefile.am @@ -1,5 +1,6 @@ AM_CPPFLAGS = \ $(MATE_APPLETS4_CFLAGS) \ + $(MATEDESKTOP_CFLAGS) \ $(LIBNOTIFY_CFLAGS) \ -I$(srcdir) \ -DMATELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ @@ -9,7 +10,7 @@ APPLET_LOCATION = $(libexecdir)/timer-applet libexec_PROGRAMS = timer-applet timer_applet_SOURCES = timerapplet.c -timer_applet_LDADD = $(MATE_APPLETS4_LIBS) $(LIBNOTIFY_LIBS) +timer_applet_LDADD = $(MATE_APPLETS4_LIBS) $(MATEDESKTOP_LIBS) $(LIBNOTIFY_LIBS) timer_applet_CFLAGS = $(WARN_CFLAGS) appletsdir = $(datadir)/mate-panel/applets diff --git a/timerapplet/timerapplet.c b/timerapplet/timerapplet.c index 05857f74..04596139 100644 --- a/timerapplet/timerapplet.c +++ b/timerapplet/timerapplet.c @@ -29,6 +29,7 @@ #include <gtk/gtk.h> #include <libnotify/notify.h> +#include <libmate-desktop/mate-aboutdialog.h> #include <mate-panel-applet.h> #include <mate-panel-applet-gsettings.h> @@ -246,7 +247,7 @@ timer_about_callback (GtkAction *action, TimerApplet *applet) { const char* authors[] = { "Stefano Karapetsas <[email protected]>", NULL }; - gtk_show_about_dialog(NULL, + mate_show_about_dialog(NULL, "version", VERSION, "copyright", "Copyright © 2014 Stefano Karapetsas", "authors", authors, |