diff options
author | Stefano Karapetsas <[email protected]> | 2014-05-03 20:30:52 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-05-03 20:30:52 +0200 |
commit | 50cf1584a9dec14dd880263354db671303ba4c42 (patch) | |
tree | 765dc84990ace7f6e5a1f707c9e2f3da41fa1bd4 /trashapplet | |
parent | ea97d2d8e5509579a079a49d01ae8cd0bf9065d9 (diff) | |
download | mate-applets-50cf1584a9dec14dd880263354db671303ba4c42.tar.bz2 mate-applets-50cf1584a9dec14dd880263354db671303ba4c42.tar.xz |
Use MateAboutDialog from libmate-desktop
Diffstat (limited to 'trashapplet')
-rw-r--r-- | trashapplet/src/Makefile.am | 2 | ||||
-rw-r--r-- | trashapplet/src/trashapplet.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/trashapplet/src/Makefile.am b/trashapplet/src/Makefile.am index 6e34f837..ebdfbe9f 100644 --- a/trashapplet/src/Makefile.am +++ b/trashapplet/src/Makefile.am @@ -1,5 +1,6 @@ AM_CPPFLAGS = -I$(top_srcdir) \ $(MATE_APPLETS4_CFLAGS) \ + $(MATEDESKTOP_CFLAGS) \ $(GIO_CFLAGS) \ -DTRASH_MENU_UI_DIR=\""$(datadir)/mate-2.0/ui"\" @@ -14,6 +15,7 @@ trashapplet_SOURCES = \ trashapplet_LDADD = \ $(MATE_APPLETS4_LIBS) \ + $(MATEDESKTOP_LIBS) \ $(GIO_LIBS) \ -lX11 diff --git a/trashapplet/src/trashapplet.c b/trashapplet/src/trashapplet.c index 53b657d6..709e9d3b 100644 --- a/trashapplet/src/trashapplet.c +++ b/trashapplet/src/trashapplet.c @@ -34,6 +34,7 @@ #include <gdk/gdkkeysyms-compat.h> #endif #include <gio/gio.h> +#include <libmate-desktop/mate-aboutdialog.h> #include <mate-panel-applet.h> #include "trash-empty.h" @@ -434,7 +435,7 @@ trash_applet_show_about (GtkAction *action, NULL }; - gtk_show_about_dialog (NULL, + mate_show_about_dialog (NULL, "version", VERSION, "copyright", "Copyright \xC2\xA9 2004 Michiel Sikkes," "\xC2\xA9 2008 Ryan Lortie", |