[gtk/gtk-3-24] Use bundle id instead of package name for the macOS preview as filename is now changed



commit e02148491f1c023eb4f37f9281bbe0be9d8495f8
Author: Alex Samorukov <samm net-art cz>
Date:   Tue Jan 14 22:12:53 2020 +0000

    Use bundle id instead of package name for the macOS preview as filename is now changed

 gtk/gtksettings.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index b83d9d5561..b786385127 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -59,7 +59,7 @@
 #include "deprecated/gtkrc.h"
 
 #ifdef GDK_WINDOWING_QUARTZ
-#define PRINT_PREVIEW_COMMAND "open -a /Applications/Preview.app %f"
+#define PRINT_PREVIEW_COMMAND "open -b com.apple.Preview %f"
 #else
 #define PRINT_PREVIEW_COMMAND "evince --unlink-tempfile --preview --print-settings %s %f"
 #endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]