diff options
author | Carlos 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) |
commit | db4719bf8f445529477290060d64637f134329b2 (patch) | |
tree | 1023e8e97914f62260e0f7efdcbf70cab06526e2 /shell/ev-jobs.h | |
parent | 2d7173f26d1fd901723592e9e56f63c79d4cb985 (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.h')
-rw-r--r-- | shell/ev-jobs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/ev-jobs.h b/shell/ev-jobs.h index bf9c86b..d57f9c0 100644 --- a/shell/ev-jobs.h +++ b/shell/ev-jobs.h @@ -22,6 +22,7 @@ #include <gtk/gtk.h> #include "ev-document.h" +#include "ev-window.h" G_BEGIN_DECLS @@ -163,6 +164,7 @@ struct _EvJobXfer { EvJob parent; EvLinkDest *dest; + EvWindowRunMode mode; GError *error; char *uri; char *local_uri; @@ -211,7 +213,9 @@ void ev_job_fonts_run (EvJobFonts *fonts); /* EvJobXfer */ GType ev_job_xfer_get_type (void); -EvJob *ev_job_xfer_new (const gchar *uri, EvLinkDest *dest); +EvJob *ev_job_xfer_new (const gchar *uri, + EvLinkDest *dest, + EvWindowRunMode mode); void ev_job_xfer_run (EvJobXfer *xfer); G_END_DECLS |