summaryrefslogtreecommitdiff
path: root/geyes
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-05-03 20:30:52 +0200
committerStefano Karapetsas <[email protected]>2014-05-03 20:30:52 +0200
commit50cf1584a9dec14dd880263354db671303ba4c42 (patch)
tree765dc84990ace7f6e5a1f707c9e2f3da41fa1bd4 /geyes
parentea97d2d8e5509579a079a49d01ae8cd0bf9065d9 (diff)
downloadmate-applets-50cf1584a9dec14dd880263354db671303ba4c42.tar.bz2
mate-applets-50cf1584a9dec14dd880263354db671303ba4c42.tar.xz
Use MateAboutDialog from libmate-desktop
Diffstat (limited to 'geyes')
-rw-r--r--geyes/Makefile.am2
-rw-r--r--geyes/geyes.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/geyes/Makefile.am b/geyes/Makefile.am
index 791d36fa..ba9750c8 100644
--- a/geyes/Makefile.am
+++ b/geyes/Makefile.am
@@ -4,6 +4,7 @@ AM_CPPFLAGS = \
-I. \
-I$(srcdir) \
$(MATE_APPLETS4_CFLAGS) \
+ $(MATEDESKTOP_CFLAGS) \
-I$(includedir) \
-DGEYES_THEMES_DIR=\""$(pkgdatadir)/geyes/"\" \
-DGEYES_MENU_UI_DIR=\""$(uidir)"\"
@@ -17,6 +18,7 @@ geyes_applet2_SOURCES = \
geyes_applet2_LDADD = \
$(MATE_APPLETS4_LIBS) \
+ $(MATEDESKTOP_LIBS) \
-lm
appletdir = $(datadir)/mate-panel/applets
diff --git a/geyes/geyes.c b/geyes/geyes.c
index 07c17256..f0bcd5c8 100644
--- a/geyes/geyes.c
+++ b/geyes/geyes.c
@@ -20,6 +20,7 @@
#include <config.h>
#include <math.h>
#include <stdlib.h>
+#include <libmate-desktop/mate-aboutdialog.h>
#include <mate-panel-applet.h>
#include <mate-panel-applet-gsettings.h>
#include "geyes.h"
@@ -191,7 +192,7 @@ about_cb (GtkAction *action,
NULL
};
- gtk_show_about_dialog (NULL,
+ mate_show_about_dialog (NULL,
"version", VERSION,
"comments", _("A goofy set of eyes for the MATE "
"panel. They follow your mouse."),