Code

Fix bug 263932: print preview on OS X
authorjiho-sf <jiho-sf@users.sourceforge.net>
Sun, 17 May 2009 22:52:10 +0000 (22:52 +0000)
committerjiho-sf <jiho-sf@users.sourceforge.net>
Sun, 17 May 2009 22:52:10 +0000 (22:52 +0000)
The print preview command was looking for evince by default. Marnen Laibow-Koser comment on the bug:
https://bugs.launchpad.net/inkscape/+bug/263932
and suggested setting the gtk-print-preview-command in the theme.

This is done here.

packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/pre_gtkrc

index 2d8fdedd6e3eb0b73487139c0a001d9e8c091f87..181e5203928270510f6d3cfbd3250ee2c75aa2fc 100644 (file)
@@ -504,3 +504,5 @@ gtk-font-name="Lucida Grande 12"
 gtk-icon-theme-name = "gnome"
 gtk-icon-sizes = "gtk-menu=16,16:gtk-dialog=48,48:gtk-dnd=32,32:gtk-button=20,20:gtk-large-toolbar=24,24:gtk-small-toolbar=16,16:inkscape-decoration=12,12"
 
+# use OS X default pdf-viewer for print preview
+gtk-print-preview-command="/usr/bin/open %f"