Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-jobs.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2006-07-17 19:44:13 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2006-07-17 19:44:13 (GMT)
commitdb4719bf8f445529477290060d64637f134329b2 (patch)
tree1023e8e97914f62260e0f7efdcbf70cab06526e2 /shell/ev-jobs.c
parent2d7173f26d1fd901723592e9e56f63c79d4cb985 (diff)
Add preview toolbar (hidden by default)
2006-07-17 Carlos Garcia Campos <carlosgc@gnome.org> * 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
Diffstat (limited to 'shell/ev-jobs.c')
-rw-r--r--shell/ev-jobs.c4
1 files changed, 3 insertions, 1 deletions
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);
}