Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* Make the toolbar not removableMarco Pesenti Gritti2005-05-101-0/+3
| | | | | | | | 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (ev_window_init): Make the toolbar not removable
* This is evil... Make space/backspace global accelerators but enable themMarco Pesenti Gritti2005-05-107-84/+140
| | | | | | | | | | | | | | | | | | | | | | | 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com> * data/evince-ui.xml: * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview): * shell/ev-sidebar-links.h: * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_get_treeview): * shell/ev-sidebar-thumbnails.h: * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view), (ev_view_class_init): * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward), (set_view_actions_sensitivity), (view_actions_focus_in_cb), (view_actions_focus_out_cb), (enable_view_actions_for_widget), (ev_window_init): This is evil... Make space/backspace global accelerators but enable them only for some widgets (sidebars and view). I dont like it, but I dont know a better way... :/
* Keep a weak reference on proxy->page_cache so that we dont try toMarco Pesenti Gritti2005-05-101-2/+31
| | | | | | | | | | | | | 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache), (ev_page_action_widget_finalize), (ev_page_action_widget_class_init), (update_page_cache): Keep a weak reference on proxy->page_cache so that we dont try to disconnect the signal if the object is already gone. Maybe there is a better way to cleanup reference handling in page action though...
* Support printing page range, based on patch by Amaury JacquotJuerg Billeter2005-05-102-5/+40
| | | | | | | | | | 2005-05-10 Juerg Billeter <j@bitron.ch> * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings), (idle_print_handler) * shell/ev-window.c: (ev_window_print): Support printing page range, based on patch by Amaury Jacquot
* Set slash action insensitive when appropriateMarco Pesenti Gritti2005-05-101-0/+2
| | | | | | | | 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (update_action_sensitivity): Set slash action insensitive when appropriate
* Check for uri correctness/existenceMarco Pesenti Gritti2005-05-101-0/+28
| | | | | | | | 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (sanity_check_uri), (ev_window_open): Check for uri correctness/existence
* LPD printers use postscript, tooJuerg Billeter2005-05-091-0/+2
| | | | | | | | 2005-05-09 Juerg Billeter <j@bitron.ch> * shell/ev-window.c: (using_postscript_printer): LPD printers use postscript, too
* The zoom one is actually sort of useful, put it backMarco Pesenti Gritti2005-05-091-1/+0
| | | | | | | | | 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (register_custom_actions): The zoom one is actually sort of useful, put it back
* Hide page/zoom controls from overflow, they are useless.Marco Pesenti Gritti2005-05-091-0/+2
| | | | | | | | | 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (register_custom_actions): Hide page/zoom controls from overflow, they are useless.
* Implement epiphany like toolbar editor. Based on patch byMarco Pesenti Gritti2005-05-092-3/+85
| | | | Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* Use set_cursor instead of set_selection, so that the keyboard focus movesMarco Pesenti Gritti2005-05-091-7/+3
| | | | | | | | | 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-sidebar-thumbnails.c: (page_changed_cb): Use set_cursor instead of set_selection, so that the keyboard focus moves too.
* Slash -> FindMarco Pesenti Gritti2005-05-091-1/+5
| | | | | | | | | 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com> * data/evince-ui.xml: * shell/ev-window.c: Slash -> Find
* Implement middle button scrolling. Based on a patch by Tommi KomulainenMarco Pesenti Gritti2005-05-091-59/+125
| | | | | | | | | | | | 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (ev_view_create_invisible_cursor), (ev_view_set_cursor), (ev_view_button_press_event), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_view_init): Implement middle button scrolling. Based on a patch by Tommi Komulainen <tommi.komulainen@iki.fi>.
* Change api to lookup from uri. Do fast lookup first, if the type isMarco Pesenti Gritti2005-05-083-24/+69
| | | | | | | | | | | | | | | | 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-document-types.c: (get_slow_mime_type), (get_document_type_from_mime), (ev_document_type_lookup): * shell/ev-document-types.h: Change api to lookup from uri. Do fast lookup first, if the type is unknown try with data sniffing. * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Adapt to api change
* Release 0.3.0Marco Pesenti Gritti2005-05-071-1/+6
| | | | | | | | | | | | | | | | | 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com> * NEWS: * configure.ac: Release 0.3.0 * data/evince-ui.xml: Hide presentation mode for now * shell/ev-view.c: (highlight_find_results): Show current find selection only on current page
* Compute size of the actual page, not of the current one.Marco Pesenti Gritti2005-05-071-4/+1
| | | | | | | | | 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (ev_view_select_all): Compute size of the actual page, not of the current one.
* Fix text selectionMarco Pesenti Gritti2005-05-071-58/+116
| | | | | | | | | | | | | | 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (clear_selection), (ev_view_finalize), (view_rect_to_doc_rect), (compute_selections), (ev_view_bin_expose), (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_button_press_event), (ev_view_motion_notify_event), (ev_view_button_release_event), (page_changed_cb): Fix text selection
* First go at fixing search, still buggyMarco Pesenti Gritti2005-05-071-164/+149
| | | | | | | | | | | | 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (compute_border), (get_page_extents), (doc_rect_to_view_rect), (highlight_find_results), (ev_view_bin_expose), (ev_view_select_all), (ev_view_motion_notify_event), (update_find_status_message), (jump_to_find_result), (jump_to_find_page): First go at fixing search, still buggy
* Remove frame around dropdown box and button at the top of the sidebar.Kristian Høgsberg2005-05-041-8/+1
| | | | | | | 2005-05-04 Kristian Høgsberg <krh@redhat.com> * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around dropdown box and button at the top of the sidebar.
* Output zoom-control Makefile. build zoom-control subdir.James Bowes2005-05-024-30/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-02 James Bowes <bowes@cs.dal.ca> * configure.ac: Output zoom-control Makefile. * cut-n-paste/Makefile.am: build zoom-control subdir. * cut-n-paste/zoom-control/ephy-zoom-action.c: * cut-n-paste/zoom-control/ephy-zoom-action.h: * cut-n-paste/zoom-control/ephy-zoom-control.c: * cut-n-paste/zoom-control/ephy-zoom-control.h: * cut-n-paste/zoom-control/ephy-zoom.c: * cut-n-paste/zoom-control/ephy-zoom.h: New files imported from epiphany, and modified to add a separator into the menu. * cut-n-paste/zoom-control/Makefile.am: Build zoom-control. * data/evince-ui.xml: Replace old zoom toolbar actions with new zoom-control action. * shell/Makefile.am: Include zoom-control flags. * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom), (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out), (ev_view_zoom_for_size_presentation), (ev_view_zoom_for_size_continuous_and_dual_page), (ev_view_zoom_for_size_continuous), (ev_view_zoom_for_size_dual_page), (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal): s/ev_view_zoom/ev_view_set_zoom/ and make public, add ev_view_get_zoom and ev_view_get_sizing_mode. * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (update_sizing_buttons), (zoom_control_changed_cb), (register_custom_actions): Initialize and use the zoom-control widget.
* Change the preview cache back to 1. Don't know when it got set to 0.Jonathan Blandford2005-05-014-114/+258
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the preview cache back to 1. Don't know when it got set to 0. * shell/ev-view.c: (compute_border), (ev_view_realize), (draw_one_page), (ev_view_set_property), (ev_view_get_property), (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen), (ev_view_get_fullscreen), (ev_view_set_presentation), (ev_view_get_presentation), (ev_view_set_sizing_mode), (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size): * shell/ev-view.h: * shell/ev-window.c: (update_chrome_visibility), (ev_window_cmd_continuous), (ev_window_cmd_dual), (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width), (update_document_mode), (ev_window_update_fullscreen_action), (ev_window_fullscreen), (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen), (ev_window_update_presentation_action), (ev_window_run_presentation), (ev_window_stop_presentation), (ev_window_cmd_view_presentation), (ev_window_state_event), (ev_window_focus_in_event), (ev_window_focus_out_event), (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb): * data/evince-ui.xml: Initial presentation mode. We should probably hide this until it's done, as it's quite rough. Also, change full-screen to fullscreen and add two getters to EvView.
* Use connect_object rather than explicitly disconnect on dispose.Marco Pesenti Gritti2005-04-292-14/+10
| | | | | | | | | | | | 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-page-action.c: (update_page_cache), (ev_page_action_dispose): * shell/ev-window.c: (destroy_fullscreen_popup), (ev_window_create_fullscreen_popup): Use connect_object rather than explicitly disconnect on dispose.
* Fix for 173185. Number of pages is simply "of ..." when there is noNickolay V. Shmyrev2005-04-281-1/+5
| | | | page labels
* Update current page while scrolling in continuous modeNickolay V. Shmyrev2005-04-273-3/+22
| | | | CVSr ----------------------------------------------------------------------
* Fix for 301996Nickolay V. Shmyrev2005-04-261-4/+0
|
* Scroll up increase zoomNickolay V. Shmyrev2005-04-241-1/+1
|
* Horizontal scroll and zooming with mouse wheelNickolay V. Shmyrev2005-04-242-33/+60
|
* forgot to set this.Jonathan Blandford2005-04-241-1/+1
| | | | | | Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-view.c (ev_view_init): forgot to set this.
* Fix links for dual/continuous. Also, add a quick fix measuring of widths.Jonathan Blandford2005-04-243-54/+44
| | | | | | | | | | | | | | | Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-view.c: (find_page_at_location), (get_link_at_location), (ev_view_set_show_border), (ev_view_set_spacing), (ev_view_zoom_for_size_continuous_and_dual_page), (ev_view_zoom_for_size_continuous): Fix links for dual/continuous. Also, add a quick fix measuring of widths. Also, removed ev_view_set_spacing and ev_view_set_show_border. * shell/ev-window.c: (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
* Fix crash on exit and scrolling to pageNickolay V. Shmyrev2005-04-231-9/+33
|
* Add Continuous and Dual page modes.Jonathan Blandford2005-04-234-171/+914
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com> * TODO: * backend/ev-page-cache.c: (_ev_page_cache_new), (ev_page_cache_get_max_width_size), (ev_page_cache_get_max_height_size): * backend/ev-page-cache.h: * data/evince-ui.xml: * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): * shell/ev-view.c: (view_update_adjustments), (view_update_range_and_current_page), (get_bounding_box_size), (ev_view_size_request_continuous_and_dual_page), (ev_view_size_request_continuous), (ev_view_size_request_dual_page), (ev_view_size_request_single_page), (ev_view_size_request), (ev_view_size_allocate), (get_page_extents), (draw_one_page), (ev_view_bin_expose), (ev_view_expose_event), (ev_view_set_property), (ev_view_get_property), (ev_view_class_init), (ev_view_init), (ev_view_new), (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous), (ev_view_set_dual_page), (ev_view_set_full_screen), (ev_view_set_presentation), (ev_view_set_sizing_mode), (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in), (ev_view_zoom_out), (zoom_for_size_fit_width), (zoom_for_size_best_fit), (ev_view_zoom_for_size_continuous_and_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_show_cursor), (ev_sizing_mode_get_type): * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (ev_window_cmd_continuous), (ev_window_cmd_dual), (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width), (update_sizing_buttons), (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out), (update_view_size), (ev_window_set_sizing_mode), (ev_window_init): Add Continuous and Dual page modes.
* Fix for 169901Nickolay V. Shmyrev2005-04-221-6/+30
|
* Fix for 170111Nickolay V. Shmyrev2005-04-221-1/+0
|
* Remove unnecessary locking.Kristian Høgsberg2005-04-221-4/+0
| | | | | | | 2005-04-22 Kristian Høgsberg <krh@redhat.com> * shell/ev-view.c (highlight_find_results): Remove unnecessary locking.
* Fix find on single page documentsMarco Pesenti Gritti2005-04-221-2/+2
| | | | | | | | | 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: * shell/ev-view.c: (highlight_find_results): Fix find on single page documents
* Fix normal size zoom. Make zoom in/zoom out unsensitive when they areMarco Pesenti Gritti2005-04-223-7/+43
| | | | | | | | | | | | | | | | 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_out), (ev_view_zoom_normal): * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size): Fix normal size zoom. Make zoom in/zoom out unsensitive when they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but better than oom.
* Put back total number of pages as (1 of 1234)Marco Pesenti Gritti2005-04-221-2/+28
| | | | | | | | | 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-page-action.c: (update_pages_label), (page_changed_cb), (create_tool_item): Put back total number of pages as (1 of 1234)
* actually remove the job.Jonathan Blandford2005-04-225-43/+44
| | | | | | | | | | Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually remove the job. * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking function. This helps debugging.
* Show the window in fullscreen when specified by the documentMarco Pesenti Gritti2005-04-191-0/+14
| | | | | | | | | | 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (update_document_mode), (ev_window_setup_document): Show the window in fullscreen when specified by the document
* Bug 301053: hide statusbar resize-grip when maximized. Fix from Paolo BorelliNickolay V. Shmyrev2005-04-191-13/+16
|
* Small rework of sidebar pages handling. See bug #164811 for detailsNickolay V. Shmyrev2005-04-1910-120/+293
|
* Fix build error and small problem on application exitNickolay V. Shmyrev2005-04-182-1/+5
|
* New files, handling the mapping from mimetypes to backendsDavid Malcolm2005-04-184-108/+194
| | | | | | | | | | | | | | | | | | | | 2005-04-18 David Malcolm <dmalcolm@redhat.com> * shell/ev-document-types.h: * shell/ev-document-types.c: New files, handling the mapping from mimetypes to backends * shell/ev-window.c: * thumbnailer/evince-thumbnailer.c: Use the ev-document-types code * shell/Makefile.am: Added new convenience library libevbackendfactory_la, containing the new mimetype->backend logic; moved the backends into it. * thumbnailer/Makefile.am: Make the thumbnailer link with the libevbackend.la convenience library, rather than having a duplicate of the backend logic here.
* constify some vars. ditto.Paolo Borelli2005-04-182-7/+7
| | | | | | | 2005-04-18 Paolo Borelli <pborelli@katamail.com> * shell/ev-stock-icons.c: constify some vars. * shell/ev-window.c: ditto.
* Move library dependencies to components.Nickolay V. Shmyrev2005-04-172-9/+6
| | | | | | | | | | | | | | * djvu/Makefile.am: * dvi/Makefile.am: * shell/Makefile.am: Move library dependencies to components. * shell/ev-window.c: (update_window_title), (start_loading_document): Fix display of uris with spaces. Bug 168358. ---------------------------------------------------------------------
* Minor cleanups removing some dead code.Jonathan Blandford2005-04-165-52/+30
| | | | | | | | | | | 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.
* Calculate shadow size only when there is actually a shadow.Marco Pesenti Gritti2005-04-161-3/+6
| | | | | | | | | 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (update_view_size): Calculate shadow size only when there is actually a shadow.
* Allow setting view spacing, default to 0Marco Pesenti Gritti2005-04-163-11/+32
| | | | | | | | | | | | | | 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init): * shell/ev-view.h: Allow setting view spacing, default to 0 * shell/ev-window.c: (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen), (ev_window_init): Remove spacing in fullscreen mode
* Do not draw the border in fulscreenMarco Pesenti Gritti2005-04-163-6/+39
| | | | | | | | | | | | | 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (compute_border), (compute_zoom_factor), (ev_view_size_request), (expose_bin_window), (ev_view_set_show_border), (ev_view_init), (page_changed_cb): * shell/ev-view.h: * shell/ev-window.c: (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen): Do not draw the border in fulscreen
* Rework border calculation, so that I can more easily disable it. CodeMarco Pesenti Gritti2005-04-161-39/+32
| | | | | | | | | | | 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor), (ev_view_size_request), (expose_bin_window), (ev_view_select_all), (find_page_at_location), (page_changed_cb): Rework border calculation, so that I can more easily disable it. Code somewhat cleaner too.