Re: program for file print preview
- From: Jean Bréfort <jean brefort normalesup org>
- To: bill lam <cbill lam gmail com>
- Cc: gnumeric-list <gnumeric-list gnome org>
- Subject: Re: program for file print preview
- Date: Mon, 22 Dec 2008 18:07:53 +0100
The code calling evince is in gtk+, not gnumeric:
settings = gtk_settings_get_for_screen (screen);
g_object_get (settings, "gtk-print-preview-command", &preview_cmd, NULL);
This returns the value of GTK_PRINT_PREVIEW_COMMAND which is defined in gtk/Makefile.am
If you want to change that, you need to change the settings for the
default screen, apparently (I do not know how this is feasible). Note
that given the way things work, the program called for the preview is
responsible for deletint the temporary pdf and the print settings file,
see
http://library.gnome.org/devel/gtk/stable/GtkSettings.html#GtkSettings--gtk-print-preview-command for more
information.
evince does that, but I don't know if xpdf is able to.
Regards,
Jean
Le lundi 22 décembre 2008 à 22:22 +0800, bill lam a écrit :
After I un-install gnome, gnumeric's preview always complaining can
not find "evince". Which files should I edit to tell it to use xpdf?
Thanks,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]