Re: program for file print preview

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/

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 for more 

evince does that, but I don't know if xpdf is able to.


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?


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