Bug 535497 - Print preview doesn't work.

2008-06-02  Yevgen Muntyan  <muntyan@tamu.edu>

        Bug 535497 - Print preview doesn't work.

        * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
        instead of launching Preview.app directly.


svn path=/trunk/; revision=20289
This commit is contained in:
Yevgen Muntyan 2008-06-02 23:20:13 +00:00 committed by Yevgen Muntyan
parent 570668f4cc
commit cb823b805a
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2008-06-02 Yevgen Muntyan <muntyan@tamu.edu>
Bug 535497 Print preview doesn't work.
* gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
instead of launching Preview.app directly.
2008-06-02 Michael Natterer <mitch@imendio.com> 2008-06-02 Michael Natterer <mitch@imendio.com>
* gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not

View File

@ -6,7 +6,7 @@ xdgmimedir =
if OS_UNIX if OS_UNIX
xdgmimedir += xdgmime xdgmimedir += xdgmime
if USE_QUARTZ if USE_QUARTZ
GTK_PRINT_PREVIEW_COMMAND="/Applications/Preview.app/Contents/MacOS/Preview %f" GTK_PRINT_PREVIEW_COMMAND="open -a /Applications/Preview.app %f"
else else
GTK_PRINT_PREVIEW_COMMAND="evince --unlink-tempfile --preview --print-settings %s %f" GTK_PRINT_PREVIEW_COMMAND="evince --unlink-tempfile --preview --print-settings %s %f"
endif endif