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
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user