summaryrefslogtreecommitdiff
path: root/pluma
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-11-18 14:58:13 +0100
committerWolfgang Ulbrich <[email protected]>2015-11-18 14:58:13 +0100
commitb40b78a7cb545f8d888694ce93f7cd9f9ff759a1 (patch)
tree9415da70f83aab109f220f46f0d74aefdbb159c4 /pluma
parente357519c943f8bacaf8d6b4737530ba09d79959c (diff)
downloadpluma-b40b78a7cb545f8d888694ce93f7cd9f9ff759a1.tar.bz2
pluma-b40b78a7cb545f8d888694ce93f7cd9f9ff759a1.tar.xz
add a configure option to build pluma with --without-matedesktop
- about-dialog use GtkAbout instead of MateAbout in this case - this makes transition to gtk3 more simple
Diffstat (limited to 'pluma')
-rw-r--r--pluma/pluma-commands-help.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/pluma/pluma-commands-help.c b/pluma/pluma-commands-help.c
index 2a94063e..1f69a58e 100644
--- a/pluma/pluma-commands-help.c
+++ b/pluma/pluma-commands-help.c
@@ -37,7 +37,9 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
+#ifdef WITH_MATEDESKTOP
#include <libmate-desktop/mate-aboutdialog.h>
+#endif
#include "pluma-commands.h"
#include "pluma-debug.h"
@@ -85,8 +87,13 @@ void _pluma_cmd_help_about(GtkAction* action, PlumaWindow* window)
pluma_debug (DEBUG_COMMANDS);
+#ifdef WITH_MATEDESKTOP
mate_show_about_dialog(GTK_WINDOW(window),
+#else
+ gtk_show_about_dialog(GTK_WINDOW(window),
+#endif
"program-name", "Pluma",
+
"authors", authors,
"comments", _(comments),
"copyright", copyright,