From e5c6189ac2baf74dd18c49ab64d7fe01e7763dee Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Wed, 08 Apr 2009 13:10:27 +0000 Subject: Remove the preview mode from EvWindow. EvPrintOperation now launches 2009-04-08 Carlos Garcia Campos * data/evince-ui.xml: * shell/ev-application.[ch]: (ev_application_open_uri_at_dest), (ev_application_open_uri), (ev_application_open_uri_list): * shell/ev-print-operation.c: (export_print_done): * shell/ev-window.[ch]: (ev_window_setup_action_sensitivity), (update_chrome_visibility), (ev_window_clear_local_uri), (ev_window_load_job_cb), (window_open_file_copy_ready_cb), (ev_window_open_uri), (ev_window_cmd_file_open_copy_at_dest), (ev_window_cmd_recent_file_activate), (ev_window_open_recent_action_item_activated), (ev_window_dispose), (open_remote_link): * shell/main.c: (launch_previewer), (arguments_parse), (main): Remove the preview mode from EvWindow. EvPrintOperation now launches evince-previewer. The preview mode command line options have not been removed to keep backwards compatibility, launching evince-previewer when evince is run in preview mode. svn path=/trunk/; revision=3579 --- (limited to 'shell/ev-window.h') diff --git a/shell/ev-window.h b/shell/ev-window.h index 5ed7dd7..1df15ec 100644 --- a/shell/ev-window.h +++ b/shell/ev-window.h @@ -34,8 +34,7 @@ G_BEGIN_DECLS typedef enum { EV_WINDOW_MODE_NORMAL, EV_WINDOW_MODE_FULLSCREEN, - EV_WINDOW_MODE_PRESENTATION, - EV_WINDOW_MODE_PREVIEW + EV_WINDOW_MODE_PRESENTATION } EvWindowRunMode; typedef struct { @@ -77,9 +76,7 @@ void ev_window_open_uri (EvWindow *ev_window, const char *uri, EvLinkDest *dest, EvWindowRunMode mode, - const gchar *search_string, - gboolean unlink_temp_file, - const gchar *print_settings); + const gchar *search_string); gboolean ev_window_is_empty (const EvWindow *ev_window); void ev_window_print_range (EvWindow *ev_window, int first_page, -- cgit v0.9.1