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



commit d668d2fa25fdbbb9198bc0765bc5fe004b8a2e41
Author: Alex Samorukov <samm net-art cz>
Date:   Tue Jan 14 22:15:05 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 7895f414e2..4995fb6cf0 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -58,7 +58,7 @@
 #endif
 
 #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]