summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
-rw-r--r--shell/ev-window.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index a47a9088..13203bbf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -134,6 +134,7 @@ dnl Specify required versions of dependencies
CAIRO_REQUIRED=1.9.10
GLIB_REQUIRED=2.32.0
LIBSECRET_REQUIRED=0.5
+MATEDESKTOP_REQUIRED=1.9.0
case "$with_gtk" in
2.0) GTK_API_VERSION=2.0
@@ -194,7 +195,7 @@ case "$with_platform" in
;;
esac
-PKG_CHECK_MODULES([SHELL_CORE],[libxml-2.0 >= $LIBXML_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS])
+PKG_CHECK_MODULES([SHELL_CORE],[libxml-2.0 >= $LIBXML_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 mate-desktop-2.0 >= $MATEDESKTOP_REQUIRED $SHELL_PLATFORM_PKGS])
dnl
dnl zlib support
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 8914d2e2..5b046ae7 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -41,6 +41,8 @@
#include <gio/gio.h>
#include <gtk/gtk.h>
+#include <libmate-desktop/mate-aboutdialog.h>
+
#include "egg-editable-toolbar.h"
#include "egg-toolbar-editor.h"
#include "egg-toolbars-model.h"
@@ -4617,7 +4619,7 @@ ev_window_cmd_help_about (GtkAction *action, EvWindow *ev_window)
comments = build_comments_string (ev_window->priv->document);
- gtk_show_about_dialog (
+ mate_show_about_dialog (
GTK_WINDOW (ev_window),
"name", _("Atril"),
"version", VERSION,