Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-view.c
Commit message (Collapse)AuthorAgeFilesLines
* Reorganize source tree.Nickolay V. Shmyrev2007-01-081-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-01-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * Makefile.am: * backend/Makefile.am: * backend/comics/Makefile.am: * backend/djvu/Makefile.am: * backend/dvi/Makefile.am: * backend/ev-async-renderer.c: * backend/ev-async-renderer.h: * backend/ev-attachment.c: * backend/ev-attachment.h: * backend/ev-backend-marshal.c: * backend/ev-document-factory.c: * backend/ev-document-factory.h: * backend/ev-document-find.c: * backend/ev-document-find.h: * backend/ev-document-fonts.c: * backend/ev-document-fonts.h: * backend/ev-document-images.c: * backend/ev-document-images.h: * backend/ev-document-info.h: * backend/ev-document-links.c: * backend/ev-document-links.h: * backend/ev-document-misc.c: * backend/ev-document-misc.h: * backend/ev-document-security.c: * backend/ev-document-security.h: * backend/ev-document-thumbnails.c: * backend/ev-document-thumbnails.h: * backend/ev-document-transition.c: * backend/ev-document-transition.h: * backend/ev-document.c: * backend/ev-document.h: * backend/ev-file-exporter.c: * backend/ev-file-exporter.h: * backend/ev-image.c: * backend/ev-image.h: * backend/ev-link-action.c: * backend/ev-link-action.h: * backend/ev-link-dest.c: * backend/ev-link-dest.h: * backend/ev-link.c: * backend/ev-link.h: * backend/ev-render-context.c: * backend/ev-render-context.h: * backend/ev-selection.c: * backend/ev-selection.h: * backend/impress/Makefile.am: * backend/pdf/Makefile.am: * backend/pixbuf/Makefile.am: * backend/ps/Makefile.am: * backend/ps/ps-document.c: (push_pixbuf), (interpreter_failed), (ps_document_widget_event), (setup_pixmap), (setup_page), (input), (start_interpreter), (stop_interpreter), (document_load), (ps_document_next_page), (render_page): * backend/tiff/Makefile.am: * comics/Makefile.am: * comics/comics-document.c: * comics/comics-document.h: * configure.ac: * cut-n-paste/zoom-control/ephy-zoom-control.c: * djvu/Makefile.am: * djvu/djvu-document-private.h: * djvu/djvu-document.c: * djvu/djvu-document.h: * djvu/djvu-links.c: * djvu/djvu-links.h: * djvu/djvu-text-page.c: * djvu/djvu-text-page.h: * djvu/djvu-text.c: * djvu/djvu-text.h: * dvi/Makefile.am: * dvi/dvi-document.c: * dvi/dvi-document.h: * dvi/fonts.c: * dvi/fonts.h: * dvi/mdvi-lib/Makefile.am: * dvi/mdvi-lib/afmparse.c: * dvi/mdvi-lib/afmparse.h: * dvi/mdvi-lib/bitmap.c: * dvi/mdvi-lib/bitmap.h: * dvi/mdvi-lib/color.c: * dvi/mdvi-lib/color.h: * dvi/mdvi-lib/common.c: * dvi/mdvi-lib/common.h: * dvi/mdvi-lib/defaults.h: * dvi/mdvi-lib/dvimisc.c: * dvi/mdvi-lib/dviopcodes.h: * dvi/mdvi-lib/dviread.c: * dvi/mdvi-lib/files.c: * dvi/mdvi-lib/font.c: * dvi/mdvi-lib/fontmap.c: * dvi/mdvi-lib/fontmap.h: * dvi/mdvi-lib/fontsrch.c: * dvi/mdvi-lib/gf.c: * dvi/mdvi-lib/hash.c: * dvi/mdvi-lib/hash.h: * dvi/mdvi-lib/list.c: * dvi/mdvi-lib/mdvi.h: * dvi/mdvi-lib/pagesel.c: * dvi/mdvi-lib/paper.c: * dvi/mdvi-lib/paper.h: * dvi/mdvi-lib/pk.c: * dvi/mdvi-lib/private.h: * dvi/mdvi-lib/setup.c: * dvi/mdvi-lib/sp-epsf.c: * dvi/mdvi-lib/special.c: * dvi/mdvi-lib/sysdeps.h: * dvi/mdvi-lib/t1.c: * dvi/mdvi-lib/tfm.c: * dvi/mdvi-lib/tfmfile.c: * dvi/mdvi-lib/tt.c: * dvi/mdvi-lib/util.c: * dvi/mdvi-lib/vf.c: * dvi/pixbuf-device.c: * dvi/pixbuf-device.h: * impress/Makefile.am: * impress/common.h: * impress/document.c: * impress/f_oasis.c: * impress/f_oo13.c: * impress/iksemel.c: * impress/iksemel.h: * impress/imposter.h: * impress/impress-document.c: * impress/impress-document.h: * impress/internal.h: * impress/r_back.c: * impress/r_draw.c: * impress/r_geometry.c: * impress/r_gradient.c: * impress/r_style.c: * impress/r_text.c: * impress/render.c: * impress/render.h: * impress/zip.c: * impress/zip.h: * lib/Makefile.am: * lib/ev-debug.c: * lib/ev-debug.h: * lib/ev-file-helpers.c: * lib/ev-file-helpers.h: * lib/ev-gui.c: * lib/ev-gui.h: * lib/ev-tooltip.c: * lib/ev-tooltip.h: * libdocument/Makefile.am: * libdocument/ev-file-helpers.c: * pdf/Makefile.am: * pdf/ev-poppler.cc: * pdf/ev-poppler.h: * pixbuf/Makefile.am: * pixbuf/pixbuf-document.c: * pixbuf/pixbuf-document.h: * properties/Makefile.am: * ps/Makefile.am: * ps/gsdefaults.c: * ps/gsdefaults.h: * ps/gsio.c: * ps/gsio.h: * ps/gstypes.h: * ps/ps-document.c: * ps/ps-document.h: * ps/ps.c: * ps/ps.h: * shell/Makefile.am: * shell/ev-application.h: * shell/ev-sidebar-links.c: * shell/ev-sidebar-links.h: * shell/ev-utils.c: (ev_gui_sanitise_popup_position), (ev_gui_menu_position_tree_selection): * shell/ev-utils.h: * shell/ev-view.c: (ev_view_finalize): * shell/ev-window.c: * shell/main.c: (main): * thumbnailer/Makefile.am: * tiff/Makefile.am: * tiff/tiff-document.c: * tiff/tiff-document.h: * tiff/tiff2ps.c: * tiff/tiff2ps.h: Reorganize source tree. svn path=/trunk/; revision=2197
* Add image handling support. Fixes bugs #310008 and #325047. ImagesCarlos Garcia Campos2007-01-071-25/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-01-07 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * data/evince-ui.xml: * pdf/ev-poppler.cc: (pdf_document_images_get_images), (pdf_document_document_images_iface_init): * backend/Makefile.am: * backend/ev-document-images.[ch]: * backend/ev-image.[ch]: * lib/ev-file-helpers.[ch]: (ev_tmp_filename): * shell/ev-jobs.[ch]: (ev_job_render_new), (ev_job_render_run), (ev_job_xfer_run): * shell/ev-pixbuf-cache.[ch]: (dispose_cache_job_info), (move_one_job), (copy_job_to_job_info), (add_job_if_needed), (ev_pixbuf_cache_get_image_mapping): * shell/ev-window.c: (view_menu_link_popup), (view_menu_image_popup), (view_menu_popup_cb), (ev_window_dispose), (image_save_dialog_response_cb), (ev_view_popup_cmd_save_image_as), (ev_view_popup_cmd_copy_image): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_get_image_at_location), (ev_view_do_popup_menu), (ev_view_popup_menu), (ev_view_button_press_event), (ev_view_drag_data_get), (ev_view_drag_motion), (ev_view_drag_data_received), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_view_finalize), (ev_view_class_init): Add image handling support. Fixes bugs #310008 and #325047. Images selection is not supported yet. svn path=/trunk/; revision=2194
* Move view drag and drop stuff to ev-view.Carlos Garcia Campos2007-01-071-4/+49
| | | | | | | | | | 2007-01-07 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (drag_data_received_cb), (ev_window_init): * shell/ev-view.c: (ev_view_drag_data_received), (ev_view_class_init), (ev_view_init): Move view drag and drop stuff to ev-view. svn path=/trunk/; revision=2192
* Clear selection also in pixbuf cache.Carlos Garcia Campos2007-01-051-0/+2
| | | | | | | | | 2007-01-05 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-pixbuf-cache.c: (clear_job_selection): * shell/ev-view.c: (clear_selection): Clear selection also in pixbuf cache. svn path=/trunk/; revision=2189
* Add page transition support in presentation mode. At the moment only pageCarlos Garcia Campos2006-12-271-0/+49
| | | | | | | | | | | | | | | | | 2006-12-27 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/Makefile.am: * backend/ev-document-transition.[ch]: * pdf/ev-poppler.cc: (pdf_document_get_page_duration), (pdf_document_page_transition_iface_init): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_destroy), (page_changed_cb), (ev_view_set_presentation), (transition_next_page), (ev_view_presentation_transition_stop), (ev_view_presentation_transition_start), (ev_view_next_page): Add page transition support in presentation mode. At the moment only page duration is supported, but not transition effects. Fixes bug #309815.
* Update page-cache when page is changed by the view, so that page-changedCarlos Garcia Campos2006-12-251-1/+7
| | | | | | | 2006-12-25 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (goto_dest): Update page-cache when page is changed by the view, so that page-changed signal is emitted.
* Restore zoom settings when back from presentation mode.Carlos Garcia Campos2006-12-241-0/+10
| | | | | | | | 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_run_presentation): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_set_presentation): Restore zoom settings when back from presentation mode.
* Show "Jump to page" label in the page jumping popup in presentation modeWouter Bolsterlee2006-12-241-6/+11
| | | | | | | | | 2006-12-24 Wouter Bolsterlee <wbolster@cvs.gnome.org> * shell/ev-view.c: (ev_view_goto_window_create): Show "Jump to page" label in the page jumping popup in presentation mode instead of just a GtkEntry.
* Allow jumping to another page by typing a page number in presentationCarlos Garcia Campos2006-12-221-1/+219
| | | | | | | | | | | | | | 2006-12-22 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view-private.h: * shell/ev-view.c: (send_focus_change), (ev_view_goto_window_hide), (ev_view_goto_window_delete_event), (key_is_numeric), (ev_view_goto_window_key_press_event), (ev_view_goto_window_button_press_event), (ev_view_goto_entry_activate), (ev_view_goto_window_create), (ev_view_goto_entry_grab_focus), (ev_view_goto_window_send_key_event), (ev_view_key_press_event), (ev_view_focus_out), (ev_view_destroy): Allow jumping to another page by typing a page number in presentation mode. It uses a popup window with an entry. Fixes bug #353625.
* Fix compilation with older compilers like gcc 2. Fixes bug #387237.Jens Granseuer2006-12-181-1/+2
| | | | | | 2006-12-18 Jens Granseuer <jensgr@gmx.net> * shell/ev-view.c: (draw_loading_text): Fix compilation with older compilers like gcc 2. Fixes bug #387237.
* Use an specific lock for FontConfig. Hopefully it fixes some crashesCarlos Garcia Campos2006-12-181-2/+2
| | | | | | | | | | | | 2006-12-18 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ev-document.[ch]: (ev_document_get_fc_mutex), (ev_document_fc_mutex_lock), (ev_document_fc_mutex_unlock): * pdf/ev-poppler.cc: (make_thumbnail_for_size): * shell/ev-jobs.c: (ev_job_render_run), (ev_job_fonts_run): * shell/ev-view.c: (draw_loading_text): * shell/ev-window.c: (ev_window_cmd_file_properties): Use an specific lock for FontConfig. Hopefully it fixes some crashes related to using FontConfig from different threads.
* Acquire lock document when drawing "Loading..." text so that only oneCarlos Garcia Campos2006-12-181-0/+4
| | | | | | | 2006-12-18 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (draw_loading_text): Acquire lock document when drawing "Loading..." text so that only one thread will use FontConfig at the same time. Fixes bug #374750.
* Corrected "end of presentation" string.Wouter Bolsterlee2006-12-131-1/+1
| | | | | | | | 2006-12-13 Wouter Bolsterlee <wbolster@cvs.gnome.org> * shell/ev-view.c: (draw_end_presentation_page): Corrected "end of presentation" string.
* Correctly propagate key press event so that up/down keys work as expectedWouter Bolsterlee2006-12-131-3/+4
| | | | | | | | | | 2006-12-13 Wouter Bolsterlee <wbolster@cvs.gnome.org> * shell/ev-view.c: (ev_view_key_press_event): Correctly propagate key press event so that up/down keys work as expected (correct behaviour was broken by black/white screen key bindings for presentations).
* Blank screen in presentation mode when pressing 'b' (filling with black)Carlos Garcia Campos2006-12-101-15/+96
| | | | | | | | | | 2006-12-10 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view-private.h: * shell/ev-view.c: (draw_end_presentation_page), (ev_view_expose_event), (ev_view_key_press_event), (ev_view_class_init), (ev_view_init): Blank screen in presentation mode when pressing 'b' (filling with black) or 'w' (filling with white) keys. Fixes bug #358132.
* Add links support in rotated documents. Fixes bug #343733.Radoslav Dorcik2006-12-091-6/+49
| | | | | | | 2006-12-09 Radoslav Dorcik <dixiecko@gmail.com> * shell/ev-view.c: (get_doc_point_from_offset), (ev_view_get_link_at_location), (ev_view_motion_notify_event): Add links support in rotated documents. Fixes bug #343733.
* Show a blank page after the last page in presentation mode with a messageCarlos Garcia Campos2006-12-091-4/+65
| | | | | | | | | 2006-12-09 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view-private.h: * shell/ev-view.c: (draw_end_presentation_page), (ev_view_expose_event), (ev_view_init), (ev_view_set_presentation): Show a blank page after the last page in presentation mode with a message indicating that presentation has finished and how to exit.
* Don't render "loading..." text in presentation mode. Temporary workaroundWouter Bolsterlee2006-10-271-0/+6
| | | | | | | | 2006-10-27 Wouter Bolsterlee <wbolster@cvs.gnome.org> * shell/ev-view.c: (draw_loading_text): Don't render "loading..." text in presentation mode. Temporary workaround for bug #320352.
* Page Up/Down should do page jumps in "Best fit" mode. If a user hasWouter Bolsterlee2006-10-191-1/+1
| | | | | | | | | | 2006-10-19 Wouter Bolsterlee <wbolster@cvs.gnome.org> * shell/ev-view.c: (ev_view_scroll): Page Up/Down should do page jumps in "Best fit" mode. If a user has explicitly chosen to view exactly one page at a time, scrolling just a part of the page when pressing Page Up/Down is not right. Fixes bug #323107.
* Fixes bug #343199, current page now follows find page.Nickolay V. Shmyrev2006-10-081-8/+9
| | | | | | | | | | | 2006-10-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-view-private.h: * shell/ev-view.c: (view_set_adjustment_values), (view_update_range_and_current_page), (ensure_rectangle_is_visible), (ev_view_size_allocate): Fixes bug #343199, current page now follows find page.
* Don't open links with middle mouse button. Fixes bug #353649Carlos Garcia Campos2006-09-071-1/+1
| | | | | | 2006-09-07 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_button_release_event): Don't open links with middle mouse button. Fixes bug #353649
* Ignore zoom for xyz destinations when it's <= 1, keeping user preferencesCarlos Garcia Campos2006-08-101-6/+6
| | | | | | | | 2006-08-10 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (goto_fith_dest), (goto_fit_dest), (goto_xyz_dest): Ignore zoom for xyz destinations when it's <= 1, keeping user preferences instead. Set correct sizing-mode for fith and fitv destinations rather than EV_SIZING_FREE. Fixes bug #349433
* Convert from PDF style coordinates to X style coordinates in the backendCarlos Garcia Campos2006-08-061-6/+4
| | | | | | | | | | | 2006-08-06 Carlos Garcia Campos <carlosgc@gnome.org> * pdf/ev-poppler.cc: (ev_link_dest_from_dest), (ev_link_from_action), (build_tree), (pdf_document_links_get_links), (pdf_document_links_find_link_dest): * shell/ev-view.c: (goto_fitr_dest), (goto_fith_dest), (goto_xyz_dest): Convert from PDF style coordinates to X style coordinates in the backend rather than in the view. Fixes bug #338440
* Use consistent quoting style. Fix for the bug #320285.Nickolay V. Shmyrev2006-05-271-2/+2
| | | | | | | | | | | | | | | | | * backend/ev-attachment.c: (ev_attachment_save), (ev_attachment_launch_app), (ev_attachment_open): * backend/ev-document-factory.c: (get_document_from_uri): * cut-n-paste/recent-files/egg-recent-view-uimanager.c: (egg_recent_view_uimanager_set_list): * ps/ps-document.c: (check_filecompressed), (document_load), (ps_document_load): * shell/ev-metadata-manager.c: (load_values): * shell/ev-password.c: (ev_password_dialog_set_property): * shell/ev-view.c: (tip_from_link): * shell/ev-window.c: (file_save_dialog_response_cb), (ev_window_print_dialog_response_cb): Use consistent quoting style. Fix for the bug #320285.
* Fix page-label command line option. Bug #342070.Nickolay V. Shmyrev2006-05-271-0/+3
| | | | | | | | | | | | | | | * 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.
* Warning fixedNickolay V. Shmyrev2006-05-271-1/+1
|
* Page ready should be earlierNickolay V. Shmyrev2006-05-271-1/+1
|
* Don't show highlight rects if page can't be showed. Fix for the bugRicardo Markiewicz2006-05-271-4/+9
| | | | | | | | | 2006-05-27 Ricardo Markiewicz <rmarkie@fi.uba.ar> * shell/ev-view.c: (ev_view_expose_event), (draw_one_page): Don't show highlight rects if page can't be showed. Fix for the bug #342076
* Updated Spanish translation.Francisco Javier F. Serrador2006-05-081-5/+5
| | | | | | 2006-05-08 Francisco Javier F. Serrador <serrador@cvs.gnome.org> * es.po: Updated Spanish translation.
* Update fullscreen and presentation timeout handling. Hide cursor inNickolay V. Shmyrev2006-05-051-1/+7
| | | | | | | | | | | | | | | | | | | | * data/evince.desktop.in.in: * shell/ev-view.c: (view_update_range_and_current_page), (ev_view_next_page), (ev_view_previous_page): * shell/ev-window.c: (update_chrome_visibility), (setup_sidebar_from_metadata), (ev_window_setup_document), (ev_window_update_fullscreen_popup), (fullscreen_timeout_cb), (fullscreen_set_timeout), (fullscreen_clear_timeout), (fullscreen_motion_notify_cb), (ev_window_run_fullscreen), (ev_window_stop_fullscreen), (ev_window_run_presentation), (ev_window_stop_presentation), (ev_window_focus_in_event), (ev_window_focus_out_event), (ev_window_view_sidebar_cb), (ev_window_init): * thumbnailer/Makefile.am: Update fullscreen and presentation timeout handling. Hide cursor in presentation after timeout. Fix for the bugs #136359 and #336981.
* Add support for Named Action linksCarlos Garcia Campos2006-05-041-0/+26
| | | | | | | | | | 2006-05-03 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ev-link-action.[ch]: * pdf/ev-poppler.cc: (ev_link_from_action): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_handle_link), (tip_from_action_named): * shell/ev-window.c: (do_action_named), (view_external_link_cb): Add support for Named Action links
* Rework links system, it adds support for remote links now and it makesCarlos Garcia Campos2006-05-021-130/+235
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix for the bug #312573 – Optimal selection of current page amongNickolay V. Shmyrev2006-04-291-23/+30
| | | | | | | | * shell/ev-view.c: (view_update_range_and_current_page), (ev_view_scroll): Fix for the bug #312573 – Optimal selection of current page among visible pages.
* Add support for "Find Previous" as dictated by the GNOME HIG. A menu itemWouter Bolsterlee2006-04-201-0/+17
| | | | | | | | | | | | | | 2006-04-20 Wouter Bolsterlee <uws+gnome@xs4all.nl> * data/evince-ui.xml: * shell/ev-view.c: (ev_view_can_find_previous): * shell/ev-view.h: * shell/ev-window.c: (ev_window_update_actions), (ev_window_cmd_edit_find_previous): Add support for "Find Previous" as dictated by the GNOME HIG. A menu item is added and some glue code to make it all work is added to various files.
* More correctly draw loading text when document is empty.Nickolay V. Shmyrev2006-03-211-1/+6
| | | | | | | * shell/ev-view.c: (ev_view_expose_event): More correctly draw loading text when document is empty.
* Fix for the bug #334854, page down and page up switch pages inNickolay V. Shmyrev2006-03-211-0/+2
| | | | | | | * shell/ev-view.c: (ev_view_scroll): Fix for the bug #334854, page down and page up switch pages in presentation mode.
* Don't jump on scrolling, fix for the bug #333127.Nickolay V. Shmyrev2006-03-051-6/+8
| | | | | | | * shell/ev-view.c: (view_update_range_and_current_page), (page_changed_cb): Don't jump on scrolling, fix for the bug #333127.
* Scroll by one page in presentation mode. Fix for the bug #332993.Nickolay V. Shmyrev2006-03-011-2/+10
| | | | | | | * shell/ev-view.c: (ev_view_next_page), (ev_view_previous_page): Scroll by one page in presentation mode. Fix for the bug #332993.
* Clairfy what page the toolbar page number applies to. Fix for the bugNickolay V. Shmyrev2006-02-241-2/+6
| | | | | | | | | * backend/ev-document-misc.c: (ev_document_misc_paint_one_page): * backend/ev-document-misc.h: * shell/ev-view.c: (draw_one_page): Clairfy what page the toolbar page number applies to. Fix for the bug #328102.
* Dont't jump to find result if window was scrolled during search. Fix forNickolay V. Shmyrev2006-02-241-2/+15
| | | | | | | | | | | | * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_event), (ev_view_init), (find_changed_cb), (ev_view_find_previous), (ev_view_search_changed): * shell/ev-view.h: * shell/ev-window.c: (find_bar_search_changed_cb): Dont't jump to find result if window was scrolled during search. Fix for the bug #313266.
* Fix for the bug 319133 - Find entry should allow text scroll.Stanislav Slusny2006-02-201-64/+58
| | | | | | | | | | | | | | | | | | 2006-02-21 Stanislav Slusny <slusnys@gmail.com> * shell/eggfindbar.c: (egg_find_bar_class_init): * shell/eggfindbar.h: * shell/ev-view-accessible.c: (ev_view_accessible_idle_do_action): * shell/ev-view-private.h: * shell/ev-view.c: (add_scroll_binding_keypad), (ev_view_scroll), (ev_view_class_init), (ev_sizing_mode_get_type), (ev_scroll_type_get_type): * shell/ev-view.h: * shell/ev-window.c: (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward), (find_bar_scroll), (ev_window_init): Fix for the bug 319133 - Find entry should allow text scroll.
* Fix for the bug #319137. Search now takes account for scrolling.Nickolay V. Shmyrev2006-02-191-38/+37
| | | | | | | | | | | * shell/ev-view-private.h: * shell/ev-view.c: (view_update_range_and_current_page), (highlight_find_results), (find_changed_cb), (page_changed_cb), (ev_view_set_document), (update_find_status_message), (jump_to_find_result), (jump_to_find_page), (ev_view_find_next), (ev_view_find_previous): Fix for the bug #319137. Search now takes account for scrolling.
* Draw Loading message during xfer job. Fix for the bug #329495.Nickolay V. Shmyrev2006-02-071-0/+19
| | | | | | | | | | | | * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_expose_event), (ev_view_set_loading), (ev_view_set_document): * shell/ev-view.h: * shell/ev-window.c: (ev_window_load_job_cb), (ev_window_xfer_job_cb), (ev_window_open_uri), (ev_window_dispose), (ev_window_init): Draw Loading message during xfer job. Fix for the bug #329495.
* Place even pages to the left if document has less then two pages. Fix forNickolay V. Shmyrev2006-02-011-6/+6
| | | | | | | | | | | | * shell/ev-page-cache.c: (build_height_to_page), (ev_page_cache_new), (ev_page_cache_get_max_label_chars), (ev_page_cache_get_dual_even_left): * shell/ev-page-cache.h: * shell/ev-view.c: (view_update_range_and_current_page), (get_page_y_offset), (get_page_extents): Place even pages to the left if document has less then two pages. Fix for the bug #328856.
* Add keybindings for percision-scrolling of display area. Fix for the bugRicardo Markiewicz2006-01-231-6/+18
| | | | | | | | | | 2006-01-24 Ricardo Markiewicz <rmarkie@fi.uba.ar> * shell/ev-view.c: (add_scroll_binding_keypad), (ev_view_binding_activated), (ev_view_class_init): Add keybindings for percision-scrolling of display area. Fix for the bug #314072.
* Dual mode places even pages to the left. Fix for the bug #309393.Nickolay V. Shmyrev2006-01-071-41/+29
| | | | | | | | | | | | | | | | | | | | | | | * shell/ev-page-cache.c: (build_height_to_page), (ev_page_cache_get_height_to_page): * shell/ev-page-cache.h: * shell/ev-view.c: (view_update_range_and_current_page), (get_page_y_offset), (get_page_extents), (ev_view_next_page), (ev_view_previous_page): Dual mode places even pages to the left. Fix for the bug #309393. * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (setup_view_from_metadata), (view_menu_popup_cb): Don't restore presentation in empty windows, more intelligent next page behaviour in dual mode. * shell/ev-pixbuf-cache.c: (check_job_size_and_unref), (ev_pixbuf_cache_clear_job_sizes): Cleanup job callback on removal. Fix for the bug #325886.
* Two page scrolling with Space and PageUp in dual mode. Second fix for theNickolay V. Shmyrev2006-01-061-2/+27
| | | | | | | | | | * shell/ev-view.c: (ev_view_scroll), (ev_view_previous_page), (ev_view_can_previous_page), (ev_view_can_next_page): * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity): Two page scrolling with Space and PageUp in dual mode. Second fix for the bug #316608.
* Correctly clamp adjustment value. Fix for the bug #325808.Nickolay V. Shmyrev2006-01-051-1/+4
| | | | | | | * shell/ev-view.c: (scroll_to_current_page): Correctly clamp adjustment value. Fix for the bug #325808.
* Fix for the bug #325067 with more intelligent selection of current link inNickolay V. Shmyrev2005-12-281-1/+1
| | | | | | | | | | | | | | | | | * backend/ev-link.c: (ev_link_get_page), (ev_link_init): * shell/ev-page-action.c: (build_new_tree_cb): * shell/ev-sidebar-links.c: (links_page_num_func), (update_page_callback_foreach), (update_page_callback): * shell/ev-view.c: (scroll_to_current_page): Fix for the bug #325067 with more intelligent selection of current link in sidebar. Make sidebar handle links of FITR-like type more correctly. * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule), (dvi_pixbuf_put_pixel): Fix memory consumtion with disabled alpha channel.
* Bind context menu to keyboard also. Fix for the bug #325065.Nickolay V. Shmyrev2005-12-271-0/+15
| | | | | | | * shell/ev-view.c: (ev_view_popup_menu), (ev_view_class_init): Bind context menu to keyboard also. Fix for the bug #325065.