Package: marco / 1.8.2+dfsg1-6

0001_use-zenity-instead-of-mate-dialogs.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Description: Use zenity instead of mate-dialogs
Author: Stefano Karapetsas <stefano@karapetsas.com>
Origin: vendor, http://git.mate-desktop.org/marco/patch/?id=22cec78be5c7a3887e695e9a787fc462102e0509
---
diff --git a/configure.ac b/configure.ac
index 938cf13..76fe288 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, zenity, 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 9b29d2d..ac72100 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;