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 /drivemount | |
parent | ea97d2d8e5509579a079a49d01ae8cd0bf9065d9 (diff) | |
download | mate-applets-50cf1584a9dec14dd880263354db671303ba4c42.tar.bz2 mate-applets-50cf1584a9dec14dd880263354db671303ba4c42.tar.xz |
Use MateAboutDialog from libmate-desktop
Diffstat (limited to 'drivemount')
-rw-r--r-- | drivemount/Makefile.am | 6 | ||||
-rw-r--r-- | drivemount/drivemount.c | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/drivemount/Makefile.am b/drivemount/Makefile.am index 46a6c195..ef482faf 100644 --- a/drivemount/Makefile.am +++ b/drivemount/Makefile.am @@ -4,7 +4,8 @@ AM_CPPFLAGS = \ -I. \ -I$(srcdir) \ -DDRIVEMOUNT_MENU_UI_DIR=\""$(uidir)"\" \ - $(MATE_APPLETS4_CFLAGS) + $(MATE_APPLETS4_CFLAGS) \ + $(MATEDESKTOP_CFLAGS) libexec_PROGRAMS = drivemount_applet2 @@ -16,7 +17,8 @@ drivemount_applet2_SOURCES = \ drive-button.h drivemount_applet2_LDADD = \ - $(MATE_APPLETS4_LIBS) + $(MATE_APPLETS4_LIBS) \ + $(MATEDESKTOP_LIBS) appletdir = $(datadir)/mate-panel/applets diff --git a/drivemount/drivemount.c b/drivemount/drivemount.c index 60fa1457..90362970 100644 --- a/drivemount/drivemount.c +++ b/drivemount/drivemount.c @@ -28,6 +28,7 @@ #include <glib/gi18n.h> #include <gtk/gtk.h> +#include <libmate-desktop/mate-aboutdialog.h> #include <mate-panel-applet.h> #include "drive-list.h" @@ -112,7 +113,7 @@ display_about_dialog (GtkAction *action, NULL }; - gtk_show_about_dialog (NULL, + mate_show_about_dialog (NULL, "version", VERSION, "copyright", "Copyright \xC2\xA9 2004 Canonical Ltd", "comments", _("Applet for mounting and unmounting block volumes."), |