Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
Commit message (Collapse)AuthorAgeFilesLines
* Changed to use page labels now. Rewrote completely because I didn'tJonathan Blandford2005-04-011-27/+3
| | | | | | | | | | | Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-page-action.c: Changed to use page labels now. Rewrote completely because I didn't understand GtkActions. I should read Marco's code more carefully in the future. * backend/ev-page-cache.h (ev_page_cache_set_page_label): New function
* Cr 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>Jonathan Blandford2005-03-311-1/+0
| | | | | | | | | | | | | | | | | | | | | | | Cr 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com> * backend/ev-document.c: (ev_document_get_page_label): * backend/ev-document.h: * backend/ev-page-cache.c: (_ev_page_cache_new), (ev_page_cache_get_page_label): * backend/ev-page-cache.h: * pdf/ev-poppler.cc: * shell/ev-sidebar-links.c: (ev_sidebar_links_construct), (links_page_num_func): * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_set_document): * shell/ev-view.c: (status_message_from_link), (ev_view_motion_notify_event): * shell/ev-window.c: (document_supports_sidebar): Add in page label support. It's not perfect yet, but it's the first 'feature' in a while. Also, fix a bogus comment noticed by crispin. VS: Modified Files:
* Remove pixbuf backend for nowJonathan Blandford2005-03-311-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com> * Makefile.am: Remove pixbuf backend for now * configure.ac: Require poppler-glib instead of just poppler. * backend/ev-document-thumbnails.h: Add a comment * backend/ev-document.h: * backend/ev-document.c: (ev_document_class_init), (ev_document_load), (ev_document_get_link), (ev_document_get_links): Remove 3 methods and add get_links. Also, made 0 based. * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run): * backend/ev-jobs.h: now EvJobRender can grab the links for a document. * backend/ev-link.c: (ev_link_set_title), (ev_link_mapping_free_foreach), (ev_link_mapping_free), (ev_link_mapping_find): * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link. * backend/ev-page-cache.c: (ev_page_cache_init), (_ev_page_cache_new), (ev_page_cache_set_current_page), (ev_page_cache_get_size), (ev_page_cache_next_page), (ev_page_cache_prev_page): Fix to be 0 based. * pdf/Makefile.am: * pdf/ev-poppler.h: * pdf/ev-poppler.cc: New backend. * ps/ps-document.c: (ps_document_init), (ps_document_set_page), (ps_document_get_page), (ps_document_document_iface_init): * shell/ev-pixbuf-cache.h: * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init), (dispose_cache_job_info), (job_finished_cb), (move_one_job), (ev_pixbuf_cache_update_range), (copy_job_to_job_info), (add_job_if_needed), (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping): Fix up code to grab a page cache per each doc. Also, fix to be 0 based. * shell/ev-sidebar-thumbnails.c: (ev_sidebar_tree_selection_changed), (page_changed_cb), (ev_sidebar_thumbnails_set_document): Fix to be 0 based. * shell/ev-view.c: (status_message_from_link), (find_page_at_location), (get_link_at_location), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_view_init): Use the new link code. Fix to be 0 based. * shell/ev-window.c: (update_action_sensitivity), (document_supports_sidebar): 0 based.
* merge evince-threads branchMarco Pesenti Gritti2005-03-231-56/+59
|
* Remove unused header -> fix distcheckMarco Pesenti Gritti2005-02-251-1/+0
| | | | | | | | 2005-02-25 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-window.c: Remove unused header -> fix distcheck
* Unescape filename for displayMarco Pesenti Gritti2005-02-251-3/+10
| | | | | | | | | 2005-02-25 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-window.c: (update_window_title), (ev_window_popup_password_dialog): Unescape filename for display
* Make page width the default sizing modePedro Villavicencio2005-02-251-1/+1
| | | | | | | | 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl> * shell/ev-window.c: Make page width the default sizing mode
* Marco Pesenti Gritti <marco@gnome.org>Carlos Garcia Campos2005-02-251-6/+48
| | | | | | | | | | 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org> Marco Pesenti Gritti <marco@gnome.org> * shell/ev-window.c: Remember the sidebar size * data/evince.schemas.in: Add a new gconf key to store the size of the sidebar
* Add a "Reload" action and menu entryKai Willadsen2005-02-251-0/+21
| | | | | | | | | | 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au> * data/evince-ui.xml: * shell/ev-window.c: (update_action_sensitivity), (ev_window_cmd_view_reload): Add a "Reload" action and menu entry
* Hide the sidebar iff the type doesn't support thumbnailing and indexing.Jonathan Blandford2005-02-251-1/+29
| | | | | | | Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar iff the type doesn't support thumbnailing and indexing.
* Update size when switching modeMarco Pesenti Gritti2005-02-241-14/+23
| | | | | | | | | 2005-02-24 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-window.c: (update_sizing_buttons), (update_view_size), (size_allocate_cb), (ev_window_set_sizing_mode): Update size when switching mode
* Fix size toggle buttons behaviorMarco Pesenti Gritti2005-02-241-64/+43
| | | | | | | | | | 2005-02-24 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-window.c: (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width), (update_sizing_buttons), (ev_window_cmd_view_normal_size): Fix size toggle buttons behavior
* Separate page/scale notificationsMarco Pesenti Gritti2005-02-241-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-24 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document.c: (ev_document_class_init), (ev_document_page_changed), (ev_document_scale_changed): * backend/ev-document.h: Separate page/scale notifications * pdf/xpdf/pdf-document.cc: Emit the new signals. Do not display the pdf page in _render, do it when scale/page are requested. * ps/ps-document.c: (ps_document_set_zoom), (ps_document_widget_event): * ps/ps-document.h: Emit the new signals. * shell/ev-view.c: (ev_view_size_request), (expose_bin_window), (ev_view_init), (page_changed_callback), (scale_changed_callback), (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size): * shell/ev-view.h: * shell/ev-window.c: (ev_window_cmd_view_normal_size), (ev_window_cmd_view_page_width), (size_allocate_cb), (ev_window_set_sizing_mode): Rework sizing to be pixel based. There are bugs but should be already way better.
* 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-231-14/+53
| | | | | | | | | 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-sidebar.[ch] * shell/ev-window.c: Improved sidebar widget. Fixes #166683
* 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-181-55/+82
| | | | | | | | | | | | | | 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-161-1/+93
| | | | | | | | | | | | | | | | | | | | 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>
* New function to canonicalize sizing/painting a border.Jonathan Blandford2005-02-161-20/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-151-2/+34
| | | | | | | | | | | | | | | | | * 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.
* 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.
* Improve toolbar layout/iconsLuca Ferretti2005-02-091-32/+36
| | | | | | | | | | | | | | 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-071-6/+16
| | | | | | | | | | | | | | | | | | 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.
* A data/evince.schemas.in:Christian Persch2005-02-071-84/+246
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Open gzipped ps documentsMarco Pesenti Gritti2005-02-041-0/+1
| | | | | | | | | 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
* Fix several bugs with findMarco Pesenti Gritti2005-02-041-0/+1
| | | | | | | | | | | | 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
* New file with some random thoughts.Jonathan Blandford2005-02-021-3/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-011-1/+2
| | | | | | | | | | | 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.
* More work on find implementation, mostly there nowMarco Pesenti Gritti2005-01-301-5/+2
| | | | | | | | | | | | | | | | | | 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
* Kill session historyMarco Pesenti Gritti2005-01-271-80/+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_window_init): add GTK_SHADOW_IN to the scrolled window forMartin Kretzschmar2005-01-261-3/+6
| | | | Federico.
* guard against unloaded docs when the title is accessed.Jonathan Blandford2005-01-251-197/+259
| | | | | | | | | | | | | 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.
* (update_window_title): empty titles are useless, use filename in thatMartin Kretzschmar2005-01-221-1/+1
| | | | case too.
* 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
* Ensure thumbnails selection, toolbar page control and current page are inMarco Pesenti Gritti2005-01-201-6/+18
| | | | | | | | | | | | | | | | | | 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.
* Add initial support for password-supported dialogs. This could be a lotJonathan Blandford2005-01-191-81/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com> * backend/Makefile.am: * backend/ev-document-links.h: * backend/ev-document-security.c: (ev_document_security_get_type), (ev_document_security_has_document_security), (ev_document_security_set_password): * backend/ev-document-security.h: * backend/ev-document.c: (ev_document_error_quark): * backend/ev-document.h: * data/Makefile.am: * data/evince-password.glade: * pdf/xpdf/pdf-document.cc: * shell/Makefile.am: * shell/ev-password.c: (ev_password_set_bad_password_label), (ev_window_password_entry_changed_cb), (ev_password_dialog_new), (ev_password_dialog_get_password), (ev_password_dialog_set_bad_pass): * shell/ev-password.h: * shell/ev-window.c: (ev_window_get_attribute), (ev_window_set_property), (update_action_sensitivity), (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf), (ev_window_setup_document), (ev_window_get_password), (ev_window_open), (ev_window_cmd_save_as), (using_postscript_printer), (ev_window_print), (find_not_supported_dialog), (ev_window_cmd_edit_find), (update_fullscreen_popup), (ev_window_fullscreen), (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen), (ev_window_focus_out_cb), (ev_window_cmd_help_about), (menu_item_select_cb), (find_bar_search_changed_cb), (ev_window_dispose), (ev_window_init): Add initial support for password-supported dialogs. This could be a lot cooler, but it'll do for now.
* Fix bugs in the links implementation and change cursor when hovering aMarco Pesenti Gritti2005-01-181-2/+10
| | | | | | | | | | | | | 2005-01-18 Marco Pesenti Gritti <marco@gnome.org> * pdf/xpdf/pdf-document.cc: * shell/ev-view.c: (status_message_from_link), (ev_view_set_status), (ev_view_set_cursor), (ev_view_motion_notify_event), (ev_view_init): * shell/ev-window.c: (view_status_changed_cb), (ev_window_init): Fix bugs in the links implementation and change cursor when hovering a link.
* new functions to help with implementation of sensitivity code FixDave Malcolm2005-01-141-12/+54
| | | | | | | | | | | 2005-01-14 Dave Malcolm <dmalcolm@redhat.com> * shell/ev-view.h: * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward): new functions to help with implementation of sensitivity code * shell/ev-window.c (update_action_sensitivity): Fix sensitivity of all actions that might require it. Fixes a crash when you click on the Zoom actions in a window lacking a document.
* Fix sensitivity of the Find actionDave Malcolm2005-01-141-2/+12
| | | | | | 2005-01-13 Dave Malcolm <dmalcolm@redhat.com> * shell/ev-window.c (Module): Fix sensitivity of the Find action
* View status message support, use it to show the links. Needs work...Marco Pesenti Gritti2005-01-131-8/+22
| | | | | | | | | | | | | | | | | | | | | | 2005-01-13 Marco Pesenti Gritti <marco@gnome.org> * pixbuf/pixbuf-document.c: (pixbuf_document_get_link), (pixbuf_document_document_iface_init): * ps/ps-document.c: (ps_document_get_link), (ps_document_document_iface_init): * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event), (status_message_from_link), (ev_view_set_status), (ev_view_set_find_status), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_view_set_property), (ev_view_get_property), (ev_view_class_init), (ev_view_init), (ev_view_get_find_status_message), (update_find_results), (ev_view_get_status), (ev_view_get_find_status): * shell/ev-view.h: * shell/ev-window.c: (view_status_changed_cb), (view_find_status_changed_cb), (ev_window_init): View status message support, use it to show the links. Needs work...
* Implement history dropdownsMarco Pesenti Gritti2005-01-111-15/+37
| | | | | | | | | | | | | | | | | | | | 2005-01-11 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-history.c: (ev_history_get_property), (ev_history_set_property), (ev_history_class_init), (ev_history_add_page), (ev_history_set_current_index): * shell/ev-navigation-action.c: (ev_navigation_action_set_history), (activate_menu_item_cb), (new_history_menu_item), (build_menu), (ev_navigation_action_finalize): * shell/ev-navigation-action.h: * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back), (ev_view_go_forward), (ev_view_get_find_status_message), (history_index_changed_cb), (ev_view_set_history): * shell/ev-view.h: * shell/ev-window.c: (update_total_pages), (ev_window_open), (update_current_page), (register_custom_actions): Implement history dropdowns
* Fix several history bugsMarco Pesenti Gritti2005-01-111-1/+1
| | | | | | | | | | | 2005-01-11 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-history.c: (ev_history_init), (ev_history_add_link): * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back), (ev_view_go_forward): * shell/ev-window.c: (register_custom_actions): Fix several history bugs
* Rename bookmark to link, and use "Index" for the sidebar panel.Marco Pesenti Gritti2005-01-101-6/+6
|
* Initial history implementation. Needs work.Marco Pesenti Gritti2005-01-091-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Added ev-print-job.c.Martin Kretzschmar2005-01-081-1/+3
| | | | | | | | | | | | | | * POTFILES.in: Added ev-print-job.c. * shell/ev-print-job.c (ev_print_job_finalize) (ev_print_job_set_property, ev_print_job_get_property) (ev_print_job_set_gnome_print_job, ev_print_job_set_document) (ev_print_job_use_print_dialog_settings, idle_print_handler) (print_closure_finalize, ev_print_job_print): implement printing (for backends with EvPsExporter) * shell/ev-window.c (ev_window_print): unref print job after printing.