summaryrefslogtreecommitdiff
path: root/stickynotes
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 /stickynotes
parentea97d2d8e5509579a079a49d01ae8cd0bf9065d9 (diff)
downloadmate-applets-50cf1584a9dec14dd880263354db671303ba4c42.tar.bz2
mate-applets-50cf1584a9dec14dd880263354db671303ba4c42.tar.xz
Use MateAboutDialog from libmate-desktop
Diffstat (limited to 'stickynotes')
-rw-r--r--stickynotes/Makefile.am2
-rw-r--r--stickynotes/stickynotes_applet_callbacks.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/stickynotes/Makefile.am b/stickynotes/Makefile.am
index df6f8292..c483ad38 100644
--- a/stickynotes/Makefile.am
+++ b/stickynotes/Makefile.am
@@ -14,6 +14,7 @@ AM_CPPFLAGS = \
-I$(srcdir) \
$(STICKYNOTES_CFLAGS) \
$(MATE_APPLETS4_CFLAGS) \
+ $(MATEDESKTOP_CFLAGS) \
$(LIBWNCK_CFLAGS) \
$(XML2_CFLAGS) \
-DSTICKYNOTES_MENU_UI_DIR=\""$(uidir)"\"\
@@ -36,6 +37,7 @@ stickynotes_applet_SOURCES = \
stickynotes_applet_LDADD = \
$(STICKYNOTES_LIBS) \
$(MATE_APPLETS4_LIBS) \
+ $(MATEDESKTOP_LIBS) \
$(LIBWNCK_LIBS) \
$(XML2_LIBS) \
-lX11
diff --git a/stickynotes/stickynotes_applet_callbacks.c b/stickynotes/stickynotes_applet_callbacks.c
index 980b9a10..6efece25 100644
--- a/stickynotes/stickynotes_applet_callbacks.c
+++ b/stickynotes/stickynotes_applet_callbacks.c
@@ -27,6 +27,7 @@
#endif
#include <X11/Xatom.h>
#include <gdk/gdkx.h>
+#include <libmate-desktop/mate-aboutdialog.h>
static gboolean get_desktop_window (Window *window)
{
@@ -432,7 +433,7 @@ menu_about_cb (GtkAction *action,
NULL
};
- gtk_show_about_dialog (NULL,
+ mate_show_about_dialog (NULL,
"version", VERSION,
"copyright", "\xC2\xA9 2002-2003 Loban A Rahman, "
"\xC2\xA9 2005 Davyd Madeley",