[PATCH] Evince preview mode



Hi all, 

evince has a preview mode yet. It's available through the command line.
So, I've attached a trivial patch to make gtk+ use such a command line
option.

I still think we shouldn't close the print dialog after clicking on
preview button. We can't print the document from evince since we don't
know the print settings selected by the user, so after launching the
previewer the user will have to repeat the whole process to actually
print the document. 

-- 
Carlos Garcia Campos (KaL)
   elkalmail yahoo es
   carlosgc gnome org
   http://carlosgc.linups.org
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462
Index: gtk/Makefile.am
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/Makefile.am,v
retrieving revision 1.312
diff -u -u -r1.312 Makefile.am
--- gtk/Makefile.am	2 Jul 2006 14:40:43 -0000	1.312
+++ gtk/Makefile.am	18 Jul 2006 17:22:57 -0000
@@ -4,7 +4,7 @@
 
 if OS_UNIX
 SUBDIRS += xdgmime
-GTK_PRINT_PREVIEW_COMMAND="evince %f"
+GTK_PRINT_PREVIEW_COMMAND="evince --preview %f"
 endif
 
 DIST_SUBDIRS=theme-bits xdgmime

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente



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