From db4719bf8f445529477290060d64637f134329b2 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Mon, 17 Jul 2006 19:44:13 +0000 Subject: Add preview toolbar (hidden by default) 2006-07-17 Carlos Garcia Campos * data/evince-toolbar.xml: Add preview toolbar (hidden by default) * shell/ev-application-service.xml: * shell/ev-application.[ch]: * shell/ev-jobs.[ch]: * shell/ev-window.[ch]: (ev_window_run_preview): * shell/main.c: Add preview mode to use evince as a printing previewer. It also adds other command line options for fullscreen and presentation modes. Fixes bugs #347822, #317031 --- (limited to 'shell/ev-jobs.c') diff --git a/shell/ev-jobs.c b/shell/ev-jobs.c index c88c011..bc0a15a 100644 --- a/shell/ev-jobs.c +++ b/shell/ev-jobs.c @@ -409,7 +409,7 @@ ev_job_xfer_class_init (EvJobXferClass *class) EvJob * -ev_job_xfer_new (const gchar *uri, EvLinkDest *dest) +ev_job_xfer_new (const gchar *uri, EvLinkDest *dest, EvWindowRunMode mode) { EvJobXfer *job; @@ -419,6 +419,8 @@ ev_job_xfer_new (const gchar *uri, EvLinkDest *dest) if (dest) job->dest = g_object_ref (dest); + job->mode = mode; + return EV_JOB (job); } -- cgit v0.9.1