Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
...
* Do not allow to shrink sidebar smaller then child requisitionMarco Pesenti Gritti2005-02-231-2/+2
| | | | | | | | | 2005-02-23 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-window.c: (ev_window_init): Do not allow to shrink sidebar smaller then child requisition
* shell/ev-sidebar.[ch]Carlos Garcia Campos2005-02-233-104/+325
| | | | | | | | | 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-sidebar.[ch] * shell/ev-window.c: Improved sidebar widget. Fixes #166683
* Give translators more flexibility with ngettext plural handling.Tommi Vainikainen2005-02-231-1/+6
| | | | | | | 2005-02-23 Tommi Vainikainen <thv@iki.fi> * shell/ev-view.c (update_find_status_message): Give translators more flexibility with ngettext plural handling.
* Fixup selection offset calculationMarco Pesenti Gritti2005-02-211-26/+72
| | | | | | | | | | | | | | | | 2005-02-21 Marco Pesenti Gritti <marco@gnome.org> * pdf/xpdf/pdf-document.cc: Fixup selection offset calculation * shell/ev-view.c: (view_rect_to_doc_rect), (doc_rect_to_view_rect), (ev_view_size_allocate), (expose_bin_window), (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb), (ev_view_motion_notify_event): Store selection as document relative, so that zooming and offset changing doesnt break it.
* Do not try to best fit if the view is not realizedMarco Pesenti Gritti2005-02-211-1/+1
| | | | | | | | 2005-02-21 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-view.c: (ev_view_best_fit): Do not try to best fit if the view is not realized
* missed a case.Jonathan Blandford2005-02-181-2/+2
| | | | | | Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-window.c (ev_window_focus_in_event): missed a case.
* Change the fullscreen toolbar to always be in the popup window. ThatJonathan Blandford2005-02-182-56/+87
| | | | | | | | | | | | | | Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-window.c: Change the fullscreen toolbar to always be in the popup window. That prevents it resizing when in full screen mode. * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid multiple rerenders. This pretty much sucks. * data/evince-ui.xml: Change the fullscreen toolbar to include the rest of the toolbar.
* added ellipsis to Print item. Fixes bug 166915Bryan Clark2005-02-161-1/+1
| | | | | | 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org> * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
* Automatically hide the fullscreen button. Patch by Kristian HøgsbergMarco Pesenti Gritti2005-02-163-11/+144
| | | | | | | | | | | | | | | | | | | | 2005-02-16 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-view.c: (ev_view_realize), (highlight_find_results), (ev_view_create_invisible_cursor), (ev_view_set_cursor), (set_document_page), (document_changed_callback), (ev_view_set_document), (ev_view_find_previous), (ev_view_hide_cursor), (ev_view_show_cursor): * shell/ev-view.h: * shell/ev-window.c: (update_chrome_visibility), (fullscreen_timeout_cb), (fullscreen_set_timeout), (fullscreen_clear_timeout), (fullscreen_motion_notify_cb), (fullscreen_leave_notify_cb), (ev_window_fullscreen), (ev_window_unfullscreen): * shell/main.c: (main): Automatically hide the fullscreen button. Patch by Kristian Høgsberg <krh@redhat.com>
* Specify an icon for the window. Patch by Jaap A. Haitsma. Fixes #166177.Vincent Noel2005-02-161-0/+1
| | | | | | | 2005-02-16 Vincent Noel <vnoel@cox.net> * shell/main.c (main): Specify an icon for the window. Patch by Jaap A. Haitsma. Fixes #166177.
* get rid of the black flash.Jonathan Blandford2005-02-161-0/+2
| | | | | | Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-view.c (ev_view_realize): get rid of the black flash.
* New function to canonicalize sizing/painting a border.Jonathan Blandford2005-02-164-81/+261
| | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com> * backend/ev-document-misc.h: * backend/ev-document-misc.c: (ev_document_misc_get_page_border_size), (ev_document_misc_paint_one_page): New function to canonicalize sizing/painting a border. * shell/Makefile.am: Remove ev-page-view.c entirely as it's not used. * pdf/xpdf/pdf-document.cc: use new function * shell/ev-view.c: (ev_view_size_request), (expose_bin_window), (ev_view_init), (ev_view_set_mode), (ev_view_zoom), (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: * shell/ev-window.c: (update_sizing_buttons), (ev_window_setup_document), (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width), (size_allocate_cb), (ev_window_set_sizing_mode), (ev_window_init): make the "best fit" and "fit width" values act as toggle buttons so they stay toggled. It's not 100% perfect, and it's a little slow, but it's good enough to commit I think.
* (update_window_title): replace newlines in the title by spaces. Bug #166107.Martin Kretzschmar2005-02-151-0/+11
|
* add parameters providing allocation width and height without scrollbarsMartin Kretzschmar2005-02-153-13/+68
| | | | | | | | | | | | | | | | | * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add parameters providing allocation width and height without scrollbars and width of a possible vertical scrollbar. With this additional information the functions can work as intended. Unfortunately they're not idempotent. We should transform these commands to toggles. Fixes Bug #164976 Initial patch by Stephane Loeuillet, then heavily modified. * shell/ev-view.h: update prototypes. * shell/ev-window.c (ev_window_cmd_view_best_fit) (ev_window_cmd_view_page_width): provide EvView fit functions with all the information they need. Formulas to calculate this information taken from GtkScrolledWindow.
* Ensure that after we have created a thumbnail, the list store is updatedCrispin Flowerday2005-02-141-0/+1
| | | | | | | | 2005-02-14 Crispin Flowerday <gnome@flowerday.cx> * shell/ev-sidebar-thumbnails.c: Ensure that after we have created a thumbnail, the list store is updated to know that the thumbnail is set. Fixes bug #166792
* fixed typo, closes bug 166897Bryan Clark2005-02-111-1/+1
| | | | | | | | 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org> * shell/ev-window.c: fixed typo, closes bug 166897 * TODO: updated TODO with bug numbers that are relevant
* Support for DnD of files. Fixes #164813Carlos Garcia Campos2005-02-091-0/+93
| | | | | 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: Support for DnD of files. Fixes #164813
* Set the "Previous" and "Next" toolbar buttons as important to make themVincent Noel2005-02-091-0/+2
| | | | | | | 2005-02-09 Vincent Noel <vnoel@cox.net> * shell/ev-window.c: (set_action_properties): Set the "Previous" and "Next" toolbar buttons as important to make them stand out.
* Fix compilation on non-gcc platformsMarco Pesenti Gritti2005-02-092-3/+3
| | | | | | | | | | | | | | | | 2005-02-09 Marco Pesenti Gritti <marco@gnome.org> * lib/ev-debug.c: * lib/ev-debug.h: * ps/ps-document.c: (ps_document_finalize), (set_up_page), (start_interpreter), (stop_interpreter), (document_load), (ps_document_next_page), (ps_document_goto_page), (ps_document_set_page_size), (ps_document_widget_event), (ps_document_render): * shell/ev-page-view.c: (ev_page_view_dispose): * shell/ev-view.c: (ev_view_finalize), (expose_bin_window): Fix compilation on non-gcc platforms
* Improve toolbar layout/iconsLuca Ferretti2005-02-093-68/+66
| | | | | | | | | | | | | | 2005-02-09 Luca Ferretti <elle.uca@libero.it> * data/Makefile.am: * data/evince-ui.xml: * shell/ev-stock-icons.c: (ev_stock_icons_init): * shell/ev-stock-icons.h: * shell/ev-window.c: (update_action_sensitivity), (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page), (set_action_properties): Improve toolbar layout/icons
* Solve more refs issues.Marco Pesenti Gritti2005-02-073-6/+21
| | | | | | | | | | | | | | | | | | 2005-02-07 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-page-view.c: (ev_page_view_dispose): * shell/ev-view.c: (ev_view_finalize): * shell/ev-window.c: (ev_window_setup_document), (ev_window_dispose), (ev_window_init): Solve more refs issues. I commented out the page_view initialization for now: it was never destroyed (because it's never added to a container). Because of that we was leaking gs processes. Couldnt think to a clean fix. We need to figure this out, password view has the same issue probably.
* Some cleanups, stop the interpreter on finalizeMarco Pesenti Gritti2005-02-071-0/+15
| | | | | | | | | | | | | | 2005-02-07 Marco Pesenti Gritti <marco@gnome.org> * ps/ps-document.c: (ps_document_finalize), (ps_document_get_n_pages), (ps_document_get_page): Some cleanups, stop the interpreter on finalize * shell/ev-page-view.c: (ev_page_view_dispose), (ev_page_view_class_init): Release our reference on the document
* Add debugging helpersMarco Pesenti Gritti2005-02-073-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-07 Marco Pesenti Gritti <marco@gnome.org> * Makefile.am: * configure.ac: * doc/debugging.txt: * lib/.cvsignore: * lib/Makefile.am: * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init), (ev_profiler_new), (ev_should_profile), (ev_profiler_dump), (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop): * lib/ev-debug.h: Add debugging helpers * ps/Makefile.am: * ps/ps-document.c: (set_up_page), (start_interpreter), (stop_interpreter), (document_load), (ps_document_next_page), (ps_document_goto_page), (ps_document_set_page_size), (ps_document_widget_event), (ps_document_render): * shell/Makefile.am: * shell/ev-view.c: (expose_bin_window): * shell/main.c: (main): Add some logs
* A data/evince.schemas.in:Christian Persch2005-02-073-85/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-07 Christian Persch <chpe@cvs.gnome.org> * Makefile.am: * configure.ac: * data/.cvsignore: * data/Makefile.am: * data/evince-ui.xml: A data/evince.schemas.in: * po/POTFILES.in: * shell/ev-stock-icons.c: (ev_stock_icons_init): * shell/ev-stock-icons.h: * shell/ev-window.c: (update_chrome_visibility), (update_chrome_flag), (ev_window_cmd_edit_find), (ev_window_update_fullscreen_popup), (ev_window_fullscreen), (ev_window_unfullscreen), (ev_window_focus_in_event), (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen), (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb), (ev_window_view_sidebar_cb), (find_bar_close_cb), (ev_window_dispose), (ev_window_class_init), (set_action_properties), (set_chrome_actions), (load_chrome), (ev_window_init): Implement fullscreen mode changes from bug #164776. Also implement persistent chrome toggles.
* Add another check for find interfaceMarco Pesenti Gritti2005-02-041-1/+4
| | | | | | | | | | | | 2005-02-04 Marco Pesenti Gritti <marco@gnome.org> * NEWS: * configure.ac: * shell/ev-view.c: Add another check for find interface Release 0.1.3
* Open gzipped ps documentsMarco Pesenti Gritti2005-02-042-0/+3
| | | | | | | | | 2005-02-04 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-application.c: (ev_application_open): * shell/ev-window.c: (ev_window_open): Open gzipped ps documents
* Clamp page number, dont try to move to not existant pages.Marco Pesenti Gritti2005-02-041-1/+7
| | | | | | | | | | 2005-02-04 Marco Pesenti Gritti <marco@gnome.org> * TODO: * shell/ev-view.c: (set_document_page): Clamp page number, dont try to move to not existant pages.
* Fix several bugs with findMarco Pesenti Gritti2005-02-042-7/+14
| | | | | | | | | | | | 2005-02-04 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document-find.c: (ev_document_find_changed): * backend/ev-document-find.h: * pdf/xpdf/pdf-document.cc: * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document): * shell/ev-window.c: (find_bar_search_changed_cb): Fix several bugs with find
* (ev_sidebar_thumbnails_select_page): do nothing unless we have aMartin Kretzschmar2005-02-041-0/+4
| | | | document. Prevents warning from scroll_to_cell.
* New file with some random thoughts.Jonathan Blandford2005-02-026-8/+812
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com> * NOTES: New file with some random thoughts. * TODO: Update. * backend/ev-document-misc.c: (ev_document_misc_get_page_border_size): New function to canonicalize shadow drawing sizes. Possibly goofy. * shell/ev-view.c: (ev_view_size_request), (set_document_page), (ev_view_best_fit), (ev_view_fit_width): * pdf/xpdf/pdf-document.cc: * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size): * ps/ps-document.c: (ps_document_get_page_size): * backend/ev-document-misc.h: * backend/ev-document.c: (ev_document_get_page_size): * backend/ev-document.h: get_page_size now takes a page number parameter. Made all the backends/frontends honor it. * data/evince-ui.xml: Added a multiple-page mode. Uncomment to see. Doesn't work yet. * shell/Makefile.am: * shell/ev-page-view.[ch]: New multi-page view. Really rough. Doesn't do anything yet. * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of [0..n_pages-1] * shell/ev-window.c: (update_action_sensitivity), (ev_window_setup_document), (ev_window_set_page_mode), (ev_window_page_mode_cb), (ev_window_init): Clean up the view-swapping code a bit so we can have multiple views on a document. Add the multi-page view, though it can't be turned on yet.
* Support eps and check document supports find before drawing highlightingsMarco Pesenti Gritti2005-02-013-2/+7
| | | | | | | | | | | 2005-02-01 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-application.c: (ev_application_open): * shell/ev-view.c: (expose_bin_window): * shell/ev-window.c: (ev_window_open): Support eps and check document supports find before drawing highlightings in expose.
* Scroll at the top of the page when changing pageMarco Pesenti Gritti2005-01-301-0/+3
| | | | | | | | 2005-01-30 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-view.c: (set_document_page): Scroll at the top of the page when changing page
* Do not redraw unnecessarilyMarco Pesenti Gritti2005-01-301-2/+2
| | | | | | | | 2005-01-30 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-view.c: (ev_view_motion_notify_event): Do not redraw unnecessarily
* Yay! find works now... Now to find bugs...Marco Pesenti Gritti2005-01-301-25/+34
| | | | | | | | | | 2005-01-30 Marco Pesenti Gritti <marco@gnome.org> * pdf/xpdf/pdf-document.cc: * shell/ev-view.c: (draw_rubberband), (highlight_find_results), (expose_bin_window), (find_changed_cb): Yay! find works now... Now to find bugs...
* More work on find implementation, mostly there nowMarco Pesenti Gritti2005-01-303-46/+184
| | | | | | | | | | | | | | | | | | 2005-01-30 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document-find.c: (ev_document_find_base_init), (ev_document_find_changed): * backend/ev-document-find.h: * pdf/xpdf/pdf-document.cc: * shell/ev-view.c: (draw_rubberband), (highlight_find_results), (expose_bin_window), (ev_view_init), (set_document_page), (ensure_rectangle_is_visible), (jump_to_find_result), (jump_to_find_page), (find_changed_cb), (ev_view_set_document), (ev_view_find_next), (ev_view_find_previous): * shell/ev-view.h: * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb): More work on find implementation, mostly there now
* Enanche the find interface to be really able to do multi page find.Marco Pesenti Gritti2005-01-291-139/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-29 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-backend-marshalers.list: * backend/ev-document-find.c: (ev_document_find_base_init), (ev_document_find_cancel), (ev_document_find_page_has_results), (ev_document_find_get_n_results), (ev_document_find_get_result), (ev_document_find_get_progress), (ev_document_find_changed): * backend/ev-document-find.h: Enanche the find interface to be really able to do multi page find. * pdf/xpdf/pdf-document.cc: Implement * shell/ev-view.c: (ev_view_finalize), (highlight_find_results), (expose_bin_window), (ev_view_init), (ev_view_get_find_status_message), (find_changed_cb), (ev_view_set_document), (set_document_page): Adapt to the new interface. A few things are regressed sorry, I will finish it soon.
* use G_DEFINE_TYPE-supplied ev_sidebar_thumbnails_parent_class variable,Martin Kretzschmar2005-01-282-11/+3
| | | | | | | | | | | | | | | | * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy) (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied ev_sidebar_thumbnails_parent_class variable, don't define another parent_class variable. * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize) (ev_page_action_class_init): ditto. * pixbuf/pixbuf-document.c (pixbuf_document_finalize) (pixbuf_document_class_init): ditto. * backend/ev-link.c (ev_window_dispose, ev_link_class_init): ditto.
* Kill session historyMarco Pesenti Gritti2005-01-278-850/+0
| | | | | | | | | | | | | | | | | | 2005-01-27 Marco Pesenti Gritti <marco@gnome.org> * data/evince-ui.xml: * shell/Makefile.am: * shell/ev-history.c: * shell/ev-history.h: * shell/ev-navigation-action.c: * shell/ev-navigation-action.h: * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link), (ev_view_set_page), (ev_view_fit_width): * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (ev_window_setup_document), (register_custom_actions): Kill session history
* Fix inverted up/down buttonsMarco Pesenti Gritti2005-01-271-5/+5
| | | | | | | | 2005-01-27 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-window.c: (update_action_sensitivity): Fix inverted up/down buttons
* (ev_sidebar_thumbnails_select_page): make sure the selected thumbnailMartin Kretzschmar2005-01-261-0/+2
| | | | stays visible.
* (ev_window_init): add GTK_SHADOW_IN to the scrolled window forMartin Kretzschmar2005-01-261-3/+6
| | | | Federico.
* updateJonathan Blandford2005-01-251-0/+1
|
* forgot thisJonathan Blandford2005-01-252-0/+208
|
* guard against unloaded docs when the title is accessed.Jonathan Blandford2005-01-254-202/+262
| | | | | | | | | | | | | 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.
* ignore page offset here, to make search results independent of it,Stephane LOEUILLET2005-01-231-2/+9
| | | | | | | | | | 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr> * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed): ignore page offset here, to make search results independent of it, * shell/ev-view.c (expose_bin_window): but take offsets into account here. Bug #164932
* (update_window_title): empty titles are useless, use filename in thatMartin Kretzschmar2005-01-221-1/+1
| | | | case too.
* Make selection work in any directionMarco Pesenti Gritti2005-01-211-8/+7
| | | | | | | | | 2005-01-21 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-view.c: (ev_view_button_press_event), (ev_view_motion_notify_event): Make selection work in any direction
* Use shorter labels for some of the toolbars itemsMarco Pesenti Gritti2005-01-211-1/+14
| | | | | | | | | 2005-01-21 Marco Pesenti Gritti <marco@gnome.org> * TODO: * shell/ev-window.c: (set_short_labels), (ev_window_init): Use shorter labels for some of the toolbars items
* make the bg color darker.Jonathan Blandford2005-01-201-1/+1
| | | | | | Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-view.c (ev_view_realize): make the bg color darker.
* (set_document_page): handle paper size changes when the pageMartin Kretzschmar2005-01-201-0/+11
| | | | changes (test with Free Culture, page 2).