summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-03-17 19:07:26 +0100
committerStefano Karapetsas <[email protected]>2014-03-17 19:07:26 +0100
commit22cec78be5c7a3887e695e9a787fc462102e0509 (patch)
tree5a04dd5564c74c1297d54a1324e36720e06a1ae7
parent43b1b7e5008ea2dc52a1e75dccebf5c6d056c796 (diff)
downloadmarco-22cec78be5c7a3887e695e9a787fc462102e0509.tar.bz2
marco-22cec78be5c7a3887e695e9a787fc462102e0509.tar.xz
Use zenity instead of mate-dialogs
-rw-r--r--configure.ac6
-rw-r--r--src/core/util.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 938cf13c..76fe2886 100644
--- a/configure.ac
+++ b/configure.ac
@@ -489,9 +489,9 @@ fi
AC_SUBST(GDK_PIXBUF_CSOURCE)
-AC_PATH_PROG(MATEDIALOG, matedialog, no)
-if test x"$MATEDIALOG" = xno; then
- AC_MSG_ERROR([matedialog not found in your path - needed for dialogs])
+AC_PATH_PROG(ZENITY, matedialog, no)
+if test x"$ZENITY" = xno; then
+ AC_MSG_ERROR([zenity not found in your path - needed for dialogs])
fi
AC_ARG_ENABLE(debug,
diff --git a/src/core/util.c b/src/core/util.c
index 9b29d2df..ac721009 100644
--- a/src/core/util.c
+++ b/src/core/util.c
@@ -559,7 +559,7 @@ meta_show_dialog (const char *type,
g_slist_length (columns)*2 +
g_slist_length (entries)));
- argvl[i++] = "matedialog";
+ argvl[i++] = "zenity";
argvl[i++] = type;
argvl[i++] = "--screen";
argvl[i++] = screen_number_text;