Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.h
Commit message (Collapse)AuthorAgeFilesLines
* Update FSF address everywhere.Arun Persaud2010-04-051-1/+1
| | | | | | | | updated where 'git grep Temple' showed an old address, not including po-files. Fixes bug# 514607. Signed-off-by: Arun Persaud <arun@nubati.net>
* [shell] Add ev_window_open_document()Carlos Garcia Campos2009-09-151-12/+17
| | | | It allows open an already loaded document in an EvWindow
* Remove EvPageCache and use EvDocumentModel insteadCarlos Garcia Campos2009-09-151-1/+0
| | | | | | | EvView is now another view for the common model EvDocumentModel. Now it's possible to have several windows for the same document without the symlink hack. Every window has its own model, while the document object is shared.
* Remove the preview mode from EvWindow. EvPrintOperation now launchesCarlos Garcia Campos2009-04-081-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2009-04-08 Carlos Garcia Campos <carlosgc@gnome.org> * 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
* Clean up the media player keys stuff.Carlos Garcia Campos2008-09-041-7/+0
| | | | | | | | | | | | | | | | | | 2008-09-04 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-application.c: (ev_application_get_media_keys): * shell/ev-media-player-keys.[ch]: (ev_media_player_keys_class_init), (on_media_player_key_pressed), (ev_media_player_keys_grab_keys), (ev_media_player_keys_release_keys), (ev_media_player_keys_init), (ev_media_player_keys_focused), (ev_media_player_keys_finalize): * shell/ev-window.[ch]: (ev_window_dispose), (view_actions_focus_in_cb), (ev_window_media_player_key_pressed), (ev_window_init): Clean up the media player keys stuff. svn path=/trunk/; revision=3148
* More #include cleanups. Again: reordering, single gtk.h includes and otherWouter Bolsterlee2008-08-031-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-03 Wouter Bolsterlee <wbolster@svn.gnome.org> * backend/impress/impress-document.c: * backend/impress/render.h: * libdocument/ev-document-factory.c: * libdocument/ev-document-factory.h: * libdocument/ev-document-links.h: * libdocument/ev-document-misc.c: * libdocument/ev-document-misc.h: * properties/ev-properties-main.c: * properties/ev-properties-view.c: * properties/ev-properties-view.h: * shell/eggfindbar.c: * shell/eggfindbar.h: * shell/ev-application.c: * shell/ev-application.h: * shell/ev-jobs.h: * shell/ev-message-area.h: * shell/ev-navigation-action.c: * shell/ev-navigation-action.h: * shell/ev-open-recent-action.c: * shell/ev-open-recent-action.h: * shell/ev-page-action-widget.c: * shell/ev-page-action.c: * shell/ev-page-action.h: * shell/ev-page-cache.h: * shell/ev-password-view.h: * shell/ev-password.h: * shell/ev-pixbuf-cache.h: * shell/ev-properties-fonts.c: * shell/ev-sidebar-attachments.c: * shell/ev-sidebar-links.c: * shell/ev-sidebar-links.h: * shell/ev-sidebar-thumbnails.c: * shell/ev-sidebar-thumbnails.h: * shell/ev-sidebar.c: * shell/ev-sidebar.h: * shell/ev-stock-icons.c: * shell/ev-tooltip.h: * shell/ev-view.c: * shell/ev-view.h: * shell/ev-window.c: * shell/ev-window.h: * shell/main.c: More #include cleanups. Again: reordering, single gtk.h includes and other stuff. svn path=/trunk/; revision=3095
* When building with D-Bus support, listen for multimedia key events fromBastien Nocera2008-06-241-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-24 Bastien Nocera <hadess@hadess.net> * shell/Makefile.am: * shell/ev-application.c (ev_application_init), (ev_application_get_media_keys): * shell/ev-application.h: * shell/ev-marshal.list: * shell/ev-media-player-keys.c (ev_media_player_keys_class_init), (proxy_destroy), (on_media_player_key_pressed), (ev_media_player_keys_init), (ev_media_player_keys_focused), (ev_media_player_keys_finalize), (ev_media_player_keys_new): * shell/ev-media-player-keys.h: * shell/ev-window.c (ev_window_go_previous_page), (ev_window_go_next_page), (ev_window_go_first_page), (ev_window_go_last_page), (ev_window_start_presentation), (ev_window_dispose), (view_actions_focus_in_cb): * shell/ev-window.h: When building with D-Bus support, listen for multimedia key events from gnome-settings-daemon. This allows to go to the next/previous/first/last pages using, respectively, Next/Previous/Rewing/Fast Forward. The Play button is used to start a presentation. Fixes bug #539971. svn path=/trunk/; revision=3059
* Remove libgnomeprint support. Fixes bug #512370.Carlos Garcia Campos2008-02-081-3/+1
| | | | | | | | | | | | | 2008-02-08 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * shell/Makefile.am: * shell/ev-application.[ch]: * shell/ev-sidebar-links.c: * shell/ev-utils.[ch]: * shell/ev-window.[ch]: Remove libgnomeprint support. Fixes bug #512370. svn path=/trunk/; revision=2895
* Add a command line option for search. Fixes bug #497710.Carlos Garcia Campos2007-11-251-0/+2
| | | | | | | | | | | | | | | | | 2007-11-25 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-application.[ch]: (get_find_string_from_args), (ev_application_open_uri_at_dest), (ev_application_open_uri), (ev_application_open_uri_list): * shell/ev-jobs.[ch]: (ev_job_load_dispose), (ev_job_load_new): * shell/ev-window.[ch]: (ev_window_load_job_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_print_send), (open_remote_link): * shell/main.c: (arguments_parse): Add a command line option for search. Fixes bug #497710. svn path=/trunk/; revision=2746
* Reorganizes utility functions.Johannes Buchner2007-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | 2007-07-27 Johannes Buchner <buchner.johannes@gmx.at> * shell/ev-utils.c: (get_num_monitors), (get_screen_dpi): * shell/ev-utils.h: * shell/ev-view.c: (ev_view_set_zoom_for_size), (ev_view_update_view_size): * shell/ev-view.h: * shell/ev-window.c: (ev_window_update_actions), (setup_view_from_metadata), (ev_window_screen_changed), (ev_window_sizing_mode_changed_cb), (ev_window_zoom_changed_cb), (zoom_control_changed_cb): * shell/ev-window.h: Reorganizes utility functions. svn path=/trunk/; revision=2582
* Add print button in preview mode. Fixes bug #396475.Carlos Garcia Campos2007-05-111-1/+2
| | | | | | | | | | | | | | | | | | 2007-05-11 Carlos Garcia Campos <carlosgc@gnome.org> * data/evince-ui.xml: * shell/ev-application.[ch]: (get_print_settings_from_args), (ev_application_open_uri_at_dest), (ev_application_open_uri), (ev_application_open_uri_list): * shell/ev-window.[ch]: (ev_window_clear_print_settings_file), (ev_window_open_uri), (ev_window_cmd_file_open_copy_at_dest), (ev_window_cmd_recent_file_activate), (ev_window_run_preview), (ev_window_cmd_view_reload), (lookup_printer_from_name), (ev_window_preview_print_finished), (ev_window_cmd_preview_print), (ev_window_dispose): * shell/main.c: (arguments_parse): Add print button in preview mode. Fixes bug #396475. svn path=/trunk/; revision=2450
* History finally works as expected.Nickolay V. Shmyrev2007-01-281-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-01-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-navigation-action.c: (activate_menu_item_cb), (ev_navigation_action_class_init): * shell/ev-navigation-action.h: * shell/ev-page-action.c: (activate_cb): * shell/ev-page-cache.c: (ev_page_cache_class_init), (ev_page_cache_set_current_page_history): * shell/ev-page-cache.h: * shell/ev-sidebar-thumbnails.c: (ev_sidebar_tree_selection_changed), (ev_sidebar_icon_selection_changed), (page_changed_cb): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_handle_link), (ev_view_class_init): * shell/ev-view.h: * shell/ev-window.c: (page_changed_cb), (history_changed_cb), (ev_window_setup_document), (ev_window_load_job_cb): * shell/ev-window.h: History finally works as expected. svn path=/trunk/; revision=2259
* Fixes CHACK type in class casts. See bug #385343 for details.P. Henrique Silva2006-12-131-1/+1
| | | | | | | | | | | | | | | | | 2006-12-13 P. Henrique Silva <ph.silva@gmail.com> * lib/ev-tooltip.h: * properties/ev-properties-view.h: * shell/ev-jobs.h: * shell/ev-properties-dialog.h: * shell/ev-properties-fonts.h: * shell/ev-sidebar-links.h: * shell/ev-sidebar-thumbnails.h: * shell/ev-sidebar.h: * shell/ev-window.h: Fixes CHACK type in class casts. See bug #385343 for details.
* Remove temp file created when evince is used by GTK+ in preview mode.Carlos Garcia Campos2006-11-101-1/+2
| | | | | | | | | | | 2006-11-10 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-application.[ch]: (get_unlink_temp_file_from_args), (ev_application_open_uri_at_dest), (ev_application_open_uri): * shell/ev-window.[ch]: (ev_window_clear_temp_file), (ev_window_open_uri): * shell/main.c: (arguments_parse): Remove temp file created when evince is used by GTK+ in preview mode. Fixes bug #365282.
* Allow printing only odd/even pages. Fixes bug #367289.Carlos Garcia Campos2006-10-301-0/+6
| | | | | | | | | 2006-10-30 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-jobs.[ch]: (ev_job_print_new), (ev_print_job_print_page_in_range), (ev_print_job_print_page_in_set), (ev_job_print_do_page): * shell/ev-window.[ch]: (ev_window_print_dialog_response_cb): Allow printing only odd/even pages. Fixes bug #367289.
* GtkPrintJob doesn't support print ranges or current page, so we export toCarlos Garcia Campos2006-07-261-0/+5
| | | | | | | | | 2006-07-26 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-jobs.[ch]: * shell/ev-sidebar-links.c: * shell/ev-window.[ch]: GtkPrintJob doesn't support print ranges or current page, so we export to a ps file now when printing ranges or current page.
* Use GtkPrint instead of GnomePrint when it's available. Fixes bug #348422Carlos Garcia Campos2006-07-231-1/+1
| | | | | | | | | | | | 2006-07-23 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * shell/Makefile.am: * shell/ev-job-queue.c: * shell/ev-jobs.[ch]: * shell/ev-sidebar-links.c: * shell/ev-window.[ch]: Use GtkPrint instead of GnomePrint when it's available. Fixes bug #348422
* Add preview toolbar (hidden by default)Carlos Garcia Campos2006-07-171-1/+10
| | | | | | | | | | | | | 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
* Fix page-label command line option. Bug #342070.Nickolay V. Shmyrev2006-05-271-2/+0
| | | | | | | | | | | | | | | * backend/ev-link-dest.c: (ev_link_dest_type_get_type), (ev_link_dest_get_page_label), (ev_link_dest_get_property), (ev_link_dest_set_property), (ev_link_dest_finalize), (ev_link_dest_class_init), (ev_link_dest_new_named), (ev_link_dest_new_page_label): * backend/ev-link-dest.h: * shell/ev-application.c: (ev_application_open_uri): * shell/ev-view.c: (goto_dest): * shell/ev-window.c: * shell/ev-window.h: Fix page-label command line option. Bug #342070.
* Rework links system, it adds support for remote links now and it makesCarlos Garcia Campos2006-05-021-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | 2006-05-02 Carlos Garcia Campos <carlosgc@gnome.org> * backend/Makefile.am: * backend/ev-document-links.[ch]: * backend/ev-document.[ch]: * backend/ev-link-action.[ch]: * backend/ev-link-dest.[ch]: * backend/ev-link.[ch]: * pdf/ev-poppler.cc: (pdf_document_find_link_dest), (ev_link_dest_from_dest), (ev_link_from_action), (build_tree): * shell/ev-page-action.c: (build_new_tree_cb): * shell/ev-sidebar-links.c: (get_page_from_dest), (print_section_cb), (links_page_num_func), (update_page_callback): * shell/ev-view.[ch]: (ev_view_goto_dest), (ev_view_handle_link), (tip_from_link): * shell/ev-jobs.c: * shell/ev-window.[ch]: (ev_window_open_uri), (sidebar_links_link_activated_cb), (ev_view_popup_cmd_open_link): * shell/ev-application.[ch]: (ev_application_open_window), (ev_application_open_uri): Rework links system, it adds support for remote links now and it makes easier to add new kinds of actions and destinations. Fixes bug #317292
* Make printing support optional. Patch from Eduardo de Barros LimaNickolay V. Shmyrev2006-02-101-0/+2
| | | | | | | | | | | | | | * configure.ac: * shell/Makefile.am: * shell/ev-sidebar-links.c: (print_section_cb): * shell/ev-utils.c: * shell/ev-utils.h: * shell/ev-window.c: (update_action_sensitivity), (ev_window_close_dialogs), (ev_window_print): * shell/ev-window.h: Make printing support optional. Patch from Eduardo de Barros Lima <eduardo.lima@indt.org.br> for the bug #330546.
* Add an optional dbus interface (--enable-dbus). Rework application code,Marco Pesenti Gritti2005-06-301-11/+11
| | | | | | | | | | | | | | | | | | | 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-application-service.xml: * configure.ac: * shell/Makefile.am: * shell/ev-application.c: * shell/ev-application.h: * shell/ev-window.c: * shell/ev-window.h: * shell/main.c: Add an optional dbus interface (--enable-dbus). Rework application code, mainly to be easier to use "remotely". Do not open multiple windows with the same document, spatial evince!
* PageCache and EvJobs are moved from backend to shell. Two new jobs toNickolay V. Shmyrev2005-06-071-2/+4
| | | | | load document in background and a statusbar to display this process. FileChooser now can select multiple uris.
* Massive code clean up from Nickolay Shmyrev. Keep page offset whenJonathan Blandford2005-05-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-view.c: (view_update_adjustments), (view_set_adjustment_values), (view_update_range_and_current_page), (view_scroll_to_page), (set_scroll_adjustment), (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad), (ev_view_scroll), (ev_view_scroll_view), (ensure_rectangle_is_visible), (find_page_at_location), (get_link_at_location), (go_to_link), (status_message_from_link), (ev_view_size_request_continuous_dual_page), (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize), (ev_view_unrealize), (ev_view_expose_event), (ev_view_button_press_event), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_gdk_color_to_rgb), (draw_rubberband), (highlight_find_results), (draw_one_page), (ev_view_finalize), (ev_view_destroy), (ev_view_class_init), (ev_view_init), (find_changed_cb), (page_changed_cb), (on_adjustment_value_changed), (ev_view_new), (ev_view_set_document), (ev_view_set_zoom), (ev_view_set_continuous), (ev_view_set_dual_page), (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out), (zoom_for_size_fit_width), (zoom_for_size_best_fit), (ev_view_zoom_for_size_presentation), (ev_view_zoom_for_size_continuous_dual_page), (ev_view_zoom_for_size_continuous), (ev_view_zoom_for_size_dual_page), (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size), (ev_view_get_status), (ev_view_set_status), (update_find_status_message), (ev_view_get_find_status), (ev_view_set_find_status), (jump_to_find_result), (jump_to_find_page), (compute_selections), (clear_selection), (ev_view_select_all), (get_selected_text), (ev_view_copy), (ev_view_primary_get_cb), (ev_view_primary_clear_cb), (ev_view_update_primary_selection), (ev_view_create_invisible_cursor), (ev_view_set_cursor): * shell/ev-view.h: * shell/ev-window.c: (ev_window_open_page_label), (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb), (ev_window_init): * shell/ev-window.h: * shell/main.c: (load_files): Massive code clean up from Nickolay Shmyrev. Keep page offset when resizing. Remove the bin_window(). Also, patch from James Bowes to fix command line page, #300641
* Expose api to print a range (with dialog). Make private _print use it.Marco Pesenti Gritti2005-05-161-0/+3
| | | | | | | | | | | | | | | | 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (ev_window_print), (ev_window_print_range): * shell/ev-window.h: Expose api to print a range (with dialog). Make private _print use it. * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb), (ev_sidebar_links_construct): Show a print context menu on linkx, it prints the selected section.
* Minor cleanups removing some dead code.Jonathan Blandford2005-04-161-2/+0
| | | | | | | | | | | Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-sidebar-links.c: (selection_changed_cb): * shell/ev-view.c: (ev_view_finalize), (go_to_link), (ev_view_button_release_event), (ev_view_set_document): * shell/ev-view.h: * shell/ev-window.c: (find_bar_search_changed_cb): * shell/ev-window.h: Minor cleanups removing some dead code.
* guard against unloaded docs when the title is accessed.Jonathan Blandford2005-01-251-4/+0
| | | | | | | | | | | | | Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com> * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against unloaded docs when the title is accessed. * shell/ev-password-view.[hc]: New widget for displaying password state. * shell/ev-window.[ch]: Refactor password handling code to handle the new view.
* Ensure thumbnails selection, toolbar page control and current page are inMarco Pesenti Gritti2005-01-201-0/+2
| | | | | | | | | | | | | | | | | | 2005-01-20 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-sidebar-thumbnails.c: (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_select_page): * shell/ev-sidebar-thumbnails.h: * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back), (ev_view_can_go_forward): * shell/ev-window.c: (ev_window_open_page), (ev_window_setup_document), (update_current_page), (view_page_changed_cb), (ev_window_init): * shell/ev-window.h: Ensure thumbnails selection, toolbar page control and current page are in sync.
* Rename bookmark to link, and use "Index" for the sidebar panel.Marco Pesenti Gritti2005-01-101-6/+7
|
* Initial history implementation. Needs work.Marco Pesenti Gritti2005-01-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-09 Marco Pesenti Gritti <marco@gnome.org> * shell/Makefile.am: * shell/ev-application.c: (ev_application_open_bookmark): * shell/ev-application.h: * shell/ev-history.c: (ev_history_init), (free_links_list), (ev_history_finalize), (ev_history_class_init), (ev_history_add_link), (ev_history_add_page), (ev_history_get_link_nth), (ev_history_get_n_links), (ev_history_get_current_index), (ev_history_set_current_index), (ev_history_new): * shell/ev-history.h: * shell/ev-sidebar-bookmarks.c: (selection_changed_cb): * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document), (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark), (go_to_index), (ev_view_go_back), (ev_view_go_forward), (ev_view_set_page): * shell/ev-view.h: * shell/ev-window.c: (ev_window_open_bookmark), (ev_window_cmd_go_back), (ev_window_cmd_go_forward), (goto_page_cb), (register_custom_actions): * shell/ev-window.h: Initial history implementation. Needs work.
* Initial revisionMarco Pesenti Gritti2004-12-211-0/+62